/ gwdiskinfo.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_DISK_INFO_H
#define GW_DATA_DISK_INFO_H
#include
#include "gwcategory.h"
struct disk_info;
struct disk_info * disk_info_new ( void);
gint disk_info_set_name ( struct disk_info *p, gchar *name);
gint disk_info_set_fsname ( struct disk_info *p, gchar *fsname);
gint disk_info_set_dir ( struct disk_info *p, gchar *dir);
gint disk_info_set_num ( struct disk_info *p, gint num);
gint disk_info_set_type ( struct disk_info *p, gchar *type);
gint disk_info_set_volume ( struct disk_info *p, gchar *volume);
gint disk_info_set_full ( struct disk_info *p, guint64 full);
gint disk_info_set_free ( struct disk_info *p, guint64 free);
gint disk_info_set_date ( struct disk_info *p, gulong date);
gint disk_info_set_serial ( struct disk_info *p, gchar *serial);
gint disk_info_set_category ( struct disk_info *p, struct category *category);
gint disk_info_set_description ( struct disk_info *p, gchar *description);
gchar * disk_info_get_name ( struct disk_info *p);
gchar * disk_info_get_fsname ( struct disk_info *p);
gchar * disk_info_get_dir ( struct disk_info *p);
gint disk_info_get_num ( struct disk_info *p);
gchar * disk_info_get_type ( struct disk_info *p);
gchar * disk_info_get_volume ( struct disk_info *p);
guint64 disk_info_get_capacity ( struct disk_info *p);
guint64 disk_info_get_full ( struct disk_info *p);
guint64 disk_info_get_free ( struct disk_info *p);
gulong disk_info_get_date ( struct disk_info *p);
gchar * disk_info_get_date_to_gchar ( struct disk_info *p);
gchar * disk_info_get_serial ( struct disk_info *p);
struct category * disk_info_get_category ( struct disk_info *p);
gchar * disk_info_get_category_name ( struct disk_info *p);
gint disk_info_get_category_index ( struct disk_info *p);
gchar * disk_info_get_description ( struct disk_info *p);
GdkPixmap * disk_info_get_pixmap ( struct disk_info *p);
GdkBitmap * disk_info_get_bitmap ( struct disk_info *p);
gint disk_info_free ( struct disk_info *p);
#endif