Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

settings-gconf.h

Go to the documentation of this file.
00001 /*
00002  *  Celestia GTK+ Front-End
00003  *  Copyright (C) 2005 Pat Suwalski <pat@suwalski.net>
00004  *
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  $Id: settings-gconf.h,v 1.1 2005/12/06 03:19:36 suwalski Exp $
00011  */
00012 
00013 #ifndef GTK_SETTINGS_GCONF_H
00014 #define GTK_SETTINGS_GCONF_H
00015 
00016 #include <gconf/gconf-client.h>
00017 
00018 #include "common.h"
00019 
00020 
00021 /* Initialize GConf */
00022 void initSettingsGConf(AppData* app);
00023 void initSettingsGConfNotifiers(AppData* app);
00024 
00025 /* Apply Settings */
00026 void applySettingsGConfPre(AppData* app, GConfClient* client);
00027 void applySettingsGConfMain(AppData* app, GConfClient* client);
00028 
00029 /* Save Settings to GConf */
00030 void saveSettingsGConf(AppData* app);
00031 
00032 /* Utility Functions */
00033 void gcSetRenderFlag(int flag, gboolean state, GConfClient* client);
00034 void gcSetOrbitMask(int flag, gboolean state, GConfClient* client);
00035 void gcSetLabelMode(int flag, gboolean state, GConfClient* client);
00036 
00037 
00038 enum {
00039         Render = 0,
00040         Orbit = 1,
00041         Label = 2,
00042 };
00043 
00044 #endif /* GTK_SETTINGS_GCONF_H */

Generated on Sat Jan 14 22:30:30 2006 for Celestia by  doxygen 1.4.1