/ gwcatalogfileinfo.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_CATALOG_FILE_INFO_H
#define GW_DATA_CATALOG_FILE_INFO_H
#include "gwcategory.h"
struct catalog_file_info;
struct catalog_file_info * catalog_file_info_new ( void);
gint catalog_file_info_set_name ( struct catalog_file_info *p, gchar *name);
gint catalog_file_info_set_title ( struct catalog_file_info *p, gchar *title);
gint catalog_file_info_set_full_name ( struct catalog_file_info *p, gchar *full_name);
gint catalog_file_info_set_version ( struct catalog_file_info *p, gchar *version);
gint catalog_file_info_set_program_maker ( struct catalog_file_info *p, gchar *program_maker);
gint catalog_file_info_set_categories ( struct catalog_file_info *p, GList *categories);
gint catalog_file_info_append_category ( struct catalog_file_info *p, struct category *category);
gint catalog_file_info_remove_category ( struct catalog_file_info *p, struct category *category);
gint catalog_file_info_set_description ( struct catalog_file_info *p, gchar *description);
gint catalog_file_info_set_ismodified ( struct catalog_file_info *p, gboolean b);
gchar * catalog_file_info_get_name ( struct catalog_file_info *p);
gchar * catalog_file_info_get_title ( struct catalog_file_info *p);
gchar * catalog_file_info_get_full_name ( struct catalog_file_info *p);
gchar * catalog_file_info_get_version ( struct catalog_file_info *p);
gchar * catalog_file_info_get_program_maker ( struct catalog_file_info *p);
GList * catalog_file_info_get_categories ( struct catalog_file_info *p);
struct category * catalog_file_info_get_category ( struct catalog_file_info *p, gchar *category);
struct category * catalog_file_info_get_category_by_index ( struct catalog_file_info *p, guint index);
gchar * catalog_file_info_get_description ( struct catalog_file_info *p);
gulong catalog_file_info_get_size ( struct catalog_file_info *p);
gboolean catalog_file_info_get_ismodified ( struct catalog_file_info *p);
gint catalog_file_info_category_free ( struct category *category, gpointer data);
gboolean catalog_file_info_free ( struct catalog_file_info *p);
#endif