summaryrefslogtreecommitdiff
path: root/src/task.h
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-02-24 17:17:27 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-02-24 17:17:27 +0100
commit48cd878e5a0cfaedae93fc515148e784e1534fbd (patch)
treeb66abf9a56bbd5c8545c6d02fd7f53d1415e44f0 /src/task.h
parent3ab33f728f61b12f85a6067d02610c2b5142a4a5 (diff)
Removed message parsing code to msgparser.
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/task.h b/src/task.h
index ffe93d7..4365c1c 100644
--- a/src/task.h
+++ b/src/task.h
@@ -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__*/