3
* Osmo - a handy personal organizer
5
* Copyright (C) 2007 Tomasz Maka <pasp@users.sourceforge.net>
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
#define TASKS_NAME "osmo_tasks"
28
#define TASKS_ENTRIES_NAME "tasks_entries"
29
#define TASKS_CATEGORY_ENTRIES_NAME "category_entries"
30
#define TASKS_ENTRIES_FILENAME "tasks_entries.xml"
32
#define MAX_SUMMARY_SIZE 512 /* max summary string size */
33
#define MAX_DATE_SIZE 12 /* max data string size */
35
void gui_create_tasks (GUI *appGUI);
36
void update_tasks_number (GUI *appGUI);
37
gint get_priority_index (gchar *text);
38
gchar* get_priority_text (gint index);
39
void show_tasks_desc_panel (gboolean enable, GUI *appGUI);
40
void tasks_fill_fields (GtkWidget *due_date_entry, GtkWidget *summary_entry, GtkWidget *desc_entry, GUI *appGUI);
41
void tasks_select_first_position_in_list (GUI *appGUI);
42
void apply_task_attributes (GUI *appGUI);
43
void refresh_due_dates (GUI *appGUI);
44
void add_item_to_list (gboolean done, guint32 due_date_julian, guint32 start_date_julian, gchar *priority, gchar *category, gchar *summary, gchar *desc, GUI *appGUI);