Main Page | Class List | Directories | File List | Class Members | File Members

gfloppy-config.h

Go to the documentation of this file.
00001 /* gfloppy-config.h
00002  *
00003  * Copyright (C) 2002 Stephane Demurget <demurgets@free.fr>
00004  *
00005  * This program is free software; you can redistribute it and/or 
00006  * modify it under the terms of the GNU General Public License as 
00007  * published by the Free Software Foundation; either version 2 of the
00008  * License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00018  * USA
00019  */
00020 
00021 #ifndef __GFLOPPY_CONFIG_H__
00022 #define __GFLOPPY_CONFIG_H__
00023 
00024 #include <glib.h>
00025 #include <gconf/gconf-client.h>
00026 
00027 #define GFLOPPY_CONFIG_FS_EXT2 "ext2"
00028 #define GFLOPPY_CONFIG_FS_FAT  "fat"
00029 
00030 typedef struct _GFloppyConfig GFloppyConfig;
00031 struct _GFloppyConfig {
00032         gchar   *default_fs;              /* Last fs type used */
00033         gint     default_formatting_mode; /* Last formatting mode used */
00034         gboolean prefer_mkdosfs_backend;  /* Use mkdosfs as the preferred FAT formatting backend */
00035 };
00036 
00037 void gfloppy_config_load (GFloppyConfig *config, GConfClient *client);
00038 void gfloppy_config_save (GFloppyConfig *config, GConfClient *client);
00039 
00040 #endif

© sourcejam.com 2005-2008