diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-01-10 15:51:33 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-01-10 15:51:33 +0100 |
commit | d935b195a2246fa24d35df7c6fc354ae628a6777 (patch) | |
tree | c739e709ad3898df094d6779e50eaefa4f9cf82c /src/taskmanager.h | |
parent | 93415d809989afc341472ea598579c924dc1e745 (diff) |
Added attributes to nodes as well as messages for manipulating and transporting them. Switched debug interface to hugin.
Diffstat (limited to 'src/taskmanager.h')
-rw-r--r-- | src/taskmanager.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/taskmanager.h b/src/taskmanager.h index e11736b..11601a4 100644 --- a/src/taskmanager.h +++ b/src/taskmanager.h @@ -46,7 +46,8 @@ public: void init(std::string filename); TaskIdList createTask(taskid_t parentid, taskid_t *id) throw (std::exception); - TaskIdList updateTask(taskid_t id, task_t task) throw (std::exception); + TaskIdList updateTask(taskid_t id, const std::string &name, + const std::string &value) throw (std::exception); TaskIdList removeTask(taskid_t id) throw (std::exception); TaskIdListPair moveTask(taskid_t id, taskid_t newParent) throw (std::exception); @@ -59,16 +60,20 @@ public: void flushTasks(); + taskid_t createId(); + private: // TaskIdList ancestorList(taskid_t task); - taskid_t createId(); taskid_t idCount; task_t nextTask(); std::string file; }; +#ifndef FOOBAR extern TaskManager task_manager; +#endif + #if 0 |