heraia/trunk/libheraia/include/user_prefs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GN_GLOBAL_PREFS   "Global Preferences"
#define KN_SAVE_WINDOW_PREFS   "Save Window Preferences"
#define KN_ABOUT_BOX   "About Box"
#define KN_DATA_INTERPRETOR   "Data Interpretor"
#define KN_LOG_BOX   "Log Box"
#define KN_MAIN_DIALOG   "Main Dialog"
#define KN_PLUGIN_LIST   "Plugin List"
#define KN_LDT   "List Data Types"
#define KN_MAIN_PREFS   "Main Preferences"

Functions

void verify_preference_file (gchar *pathname, gchar *filename)
void save_main_preferences (heraia_window_t *main_window)
void setup_preferences (heraia_window_t *main_window)


Define Documentation

#define GN_GLOBAL_PREFS   "Global Preferences"

GN == Group Name KN == Key Name Thoses variables are the one to use in the main preference file

Definition at line 32 of file user_prefs.h.

Referenced by load_mp_file_preferences_options(), load_window_preferences(), save_mp_file_preferences_options(), and save_window_preferences().

#define KN_ABOUT_BOX   "About Box"

#define KN_DATA_INTERPRETOR   "Data Interpretor"

#define KN_LDT   "List Data Types"

#define KN_LOG_BOX   "Log Box"

#define KN_MAIN_DIALOG   "Main Dialog"

#define KN_MAIN_PREFS   "Main Preferences"

#define KN_PLUGIN_LIST   "Plugin List"

#define KN_SAVE_WINDOW_PREFS   "Save Window Preferences"


Function Documentation

void save_main_preferences ( heraia_window_t main_window  ) 

Save all preferences to the user preference file

Definition at line 153 of file user_prefs.c.

References heraia_window_t::prefs, save_mp_file_preferences_options(), and save_preferences_to_file().

Referenced by close_heraia(), and pref_window_delete().

Here is the call graph for this function:

void setup_preferences ( heraia_window_t main_window  ) 

Sets up the preferences as loaded in the preference file

Definition at line 228 of file user_prefs.c.

References load_mp_file_preferences_options().

Referenced by load_heraia_ui().

Here is the call graph for this function:

void verify_preference_file ( gchar *  pathname,
gchar *  filename 
)

Verify preference file presence and creates it if it does not already exists

Definition at line 82 of file user_prefs.c.

References verify_preference_file_name_presence(), and verify_preference_file_path_presence().

Referenced by heraia_init_main_struct().

Here is the call graph for this function:


Generated on Sat Jan 17 20:57:42 2009 for Heraia by  doxygen 1.5.6