mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
FF4 - Snapshot
- Added more Context responsibilities.
This commit is contained in:
parent
2e39929d71
commit
fdd43a9619
3 changed files with 8 additions and 6 deletions
|
@ -36,7 +36,7 @@ Context::Context ()
|
||||||
Context::Context (const Context& other)
|
Context::Context (const Context& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented Context::Context");
|
throw std::string ("unimplemented Context::Context");
|
||||||
// config = other.config;
|
config = other.config;
|
||||||
filter = other.filter;
|
filter = other.filter;
|
||||||
keymap = other.keymap;
|
keymap = other.keymap;
|
||||||
sequence = other.sequence;
|
sequence = other.sequence;
|
||||||
|
@ -50,7 +50,7 @@ Context& Context::operator= (const Context& other)
|
||||||
throw std::string ("unimplemented Context::operator=");
|
throw std::string ("unimplemented Context::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
// config = other.config;
|
config = other.config;
|
||||||
filter = other.filter;
|
filter = other.filter;
|
||||||
keymap = other.keymap;
|
keymap = other.keymap;
|
||||||
sequence = other.sequence;
|
sequence = other.sequence;
|
||||||
|
@ -81,6 +81,7 @@ int Context::commandLine (int argc, char** argv)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented Context::commandLine");
|
throw std::string ("unimplemented Context::commandLine");
|
||||||
// TODO Support rc: override.
|
// TODO Support rc: override.
|
||||||
|
// TODO Handle "--version, -v" right here.
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "Filter.h"
|
#include "Filter.h"
|
||||||
#include "Keymap.h"
|
#include "Keymap.h"
|
||||||
//#include "Config.h"
|
#include "Config.h"
|
||||||
#include "Sequence.h"
|
#include "Sequence.h"
|
||||||
#include "TDB.h"
|
#include "TDB.h"
|
||||||
#include "T.h"
|
#include "T.h"
|
||||||
|
@ -48,7 +48,7 @@ public:
|
||||||
int run ();
|
int run ();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Config config;
|
Config config;
|
||||||
Filter filter;
|
Filter filter;
|
||||||
Keymap keymap;
|
Keymap keymap;
|
||||||
Sequence sequence;
|
Sequence sequence;
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
PROJECT = 1.8
|
PROJECT = 1.8
|
||||||
CFLAGS = -I. -I../../library/include -Wall -pedantic -ggdb3 -fno-rtti -fstack-check
|
CFLAGS = -I. -I.. -Wall -pedantic -ggdb3 -fno-rtti -fstack-check
|
||||||
LFLAGS =
|
LFLAGS =
|
||||||
LIBS =
|
LIBS =
|
||||||
OBJECTS = main.o Context.o TDB.o T.o Sequence.o Filter.o Att.o Date.o Duration.o Keymap.o
|
OBJECTS = main.o Context.o TDB.o T.o Sequence.o Filter.o Att.o Keymap.o \
|
||||||
|
../util.o ../text.o ../Config.o ../Date.o
|
||||||
|
|
||||||
all: $(PROJECT)
|
all: $(PROJECT)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue