diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2012-02-24 17:17:27 +0100 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2012-02-24 17:17:27 +0100 |
commit | 48cd878e5a0cfaedae93fc515148e784e1534fbd (patch) | |
tree | b66abf9a56bbd5c8545c6d02fd7f53d1415e44f0 /src/task.h | |
parent | 3ab33f728f61b12f85a6067d02610c2b5142a4a5 (diff) |
Removed message parsing code to msgparser.
Diffstat (limited to 'src/task.h')
-rw-r--r-- | src/task.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -51,14 +51,18 @@ x and y are integers as strings id are an integer as a string */ -struct task { + +typedef struct { int x, y; int id; std::string title; std::string desc; -}; +} task_t; -typedef std::list<struct task> TaskList; +typedef std::list<task_t> TaskList; extern TaskList tasklist; +task_t create_task(std::string title, std::string desc, + int x, int y); + #endif/*__MUNIA_TASK_H__*/ |