/ gwcategory.h / Content
/* GWhere
* Copyright (C) 2000 Sébastien LECACHEUR
*
* 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; either version 2 of the License, or
* (at your option) any later version.
*
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef GW_DATA_CATEGORY_H
#define GW_DATA_CATEGORY_H
#include
struct category;
struct category * category_new ( void);
gint category_set_index ( struct category *p, gint index);
gint category_set_name ( struct category *p, gchar *name);
gint category_set_description ( struct category *p, gchar *description);
gint category_set_number_catalog ( struct category *p, gint num);
gint category_set_number_disk ( struct category *p, gint num);
gint category_set_number_folder ( struct category *p, gint num);
gint category_set_number_file ( struct category *p, gint num);
gint category_get_index ( struct category *p);
gchar * category_get_name ( struct category *p);
gchar * category_get_description ( struct category *p);
gint category_get_number_catalog ( struct category *p);
gint category_get_number_disk ( struct category *p);
gint category_get_number_folder ( struct category *p);
gint category_get_number_file ( struct category *p);
gint category_add_catalog ( struct category *p);
gint category_add_disk ( struct category *p);
gint category_add_folder ( struct category *p);
gint category_add_file ( struct category *p);
gint category_remove_catalog ( struct category *p);
gint category_remove_disk ( struct category *p);
gint category_remove_folder ( struct category *p);
gint category_remove_file ( struct category *p);
gboolean category_can_removed ( struct category *p);
gint category_free ( struct category *p);
#endif