From 48cd878e5a0cfaedae93fc515148e784e1534fbd Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Fri, 24 Feb 2012 17:17:27 +0100 Subject: Removed message parsing code to msgparser. --- src/task.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/task.h') 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 TaskList; +typedef std::list TaskList; extern TaskList tasklist; +task_t create_task(std::string title, std::string desc, + int x, int y); + #endif/*__MUNIA_TASK_H__*/ -- cgit v1.2.3