/ gwscandiskinfo.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_SCAN_DISK_INFO_H
#define GW_DATA_SCAN_DISK_INFO_H
#include
#include "gwvirtualfilesystemstats.h"
#include "gwcategory.h"
struct scan_disk_info;
typedef gchar * (*func_descr_t)( gchar *file_name);
typedef gint (*func_statment_t)( gpointer object, gfloat value);
struct scan_disk_info * scan_disk_info_new ( void);
gint scan_disk_info_set_vfs ( struct scan_disk_info *p, struct vfs_stats *vfs);
gint scan_disk_info_set_disk_name ( struct scan_disk_info *p, gchar *name);
gint scan_disk_info_set_disk_num_archive ( struct scan_disk_info *p, gint num);
gint scan_disk_info_set_disk_category ( struct scan_disk_info *p, struct category *category);
gint scan_disk_info_set_explore_tree_structure ( struct scan_disk_info *p, gboolean tree_structure);
gint scan_disk_info_set_explore_archive ( struct scan_disk_info *p, gboolean explore_archive);
gint scan_disk_info_set_make_description ( struct scan_disk_info *p, gboolean make_description);
gint scan_disk_info_set_category_recursive ( struct scan_disk_info *p, gboolean category_recursive);
gint scan_disk_info_set_stop ( struct scan_disk_info *p, gboolean stop);
gint scan_disk_info_set_error_msg ( struct scan_disk_info *p, gchar *error_msg);
gint scan_disk_info_set_statment_controler ( struct scan_disk_info *p, gpointer statment_controler);
gint scan_disk_info_set_scan_disk_get_file_description ( struct scan_disk_info *p, func_descr_t f);
gint scan_disk_info_set_scan_disk_set_current_statment ( struct scan_disk_info *p, func_statment_t f);
struct vfs_stats * scan_disk_info_get_vfs ( struct scan_disk_info *p);
gchar * scan_disk_info_get_disk_name ( struct scan_disk_info *p);
gint scan_disk_info_get_disk_num_archive ( struct scan_disk_info *p);
struct category * scan_disk_info_get_disk_category ( struct scan_disk_info *p);
gboolean scan_disk_info_get_explore_tree_structure ( struct scan_disk_info *p);
gboolean scan_disk_info_get_explore_archive ( struct scan_disk_info *p);
gboolean scan_disk_info_get_make_description ( struct scan_disk_info *p);
gboolean scan_disk_info_get_category_recursive ( struct scan_disk_info *p);
gboolean scan_disk_info_get_stop ( struct scan_disk_info *p);
gchar * scan_disk_info_get_error_msg ( struct scan_disk_info *p);
gpointer scan_disk_info_get_statment_controler ( struct scan_disk_info *p);
func_descr_t scan_disk_info_get_scan_disk_get_file_description ( struct scan_disk_info *p);
func_statment_t scan_disk_info_get_scan_disk_set_current_statment ( struct scan_disk_info *p);
gint scan_disk_info_free ( struct scan_disk_info *p);
#endif