diff options
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__*/ |