/* $Id: todo.h,v 1.4 2009/11/19 00:12:25 khorben Exp $ */ /* Copyright (c) 2009 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Todo */ /* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef TODO_TODO_H # define TODO_TODO_H # include /* Todo */ /* types */ typedef struct _Todo Todo; /* functions */ Todo * todo_new(void); void todo_delete(Todo * todo); /* useful */ void todo_about(Todo * todo); /* tasks */ void todo_task_add(Todo * todo); void todo_task_remove(Todo * todo); /* accessors */ void todo_task_set_title(Todo * todo, GtkTreePath * path, char const * title); void todo_task_edit(Todo * todo); void todo_task_select_all(Todo * todo); void todo_task_toggle_done(Todo * todo, GtkTreePath * path); #endif /* !TODO_TODO_H */