preferences.h File Reference

#include <libxml/parser.h>
#include "../dialog.h"
#include <list>
#include <map>
Include dependency graph for preferences.h:

Go to the source code of this file.

Data Structures

class  PreferencesPage
class  PreferenceGroup
class  LatchedValue< Value >
class  CGameDescription
class  CGameDialog
class  PrefsDlg
struct  preferences_globals_t

Defines

#define INCLUDED_PREFERENCES_H

Typedefs

typedef Callback1
< PreferencesPage & > 
PreferencesPageCallback
typedef Callback1
< PreferenceGroup & > 
PreferenceGroupCallback
typedef LatchedValue< bool > LatchedBool
typedef MemberCaller1
< LatchedBool, bool,&LatchedBool::import > 
LatchedBoolImportCaller
typedef LatchedValue< int > LatchedInt
typedef MemberCaller1
< LatchedInt, int,&LatchedInt::import > 
LatchedIntImportCaller
typedef struct _GtkWidget GtkWidget
typedef struct _GtkWindow GtkWindow

Functions

void Widget_connectToggleDependency (GtkWidget *self, GtkWidget *toggleButton)
void PreferencesDialog_addInterfacePreferences (const PreferencesPageCallback &callback)
void PreferencesDialog_addInterfacePage (const PreferenceGroupCallback &callback)
void PreferencesDialog_addSettingsPreferences (const PreferencesPageCallback &callback)
void PreferencesDialog_addSettingsPage (const PreferenceGroupCallback &callback)
void PreferencesDialog_restartRequired (const std::string &staticName)
void PreferencesDialog_constructWindow (GtkWindow *main_window)
void PreferencesDialog_destroyWindow ()
void PreferencesDialog_showDialog ()
void Preferences_Init ()
void Preferences_Load ()
void Preferences_Save ()
void Preferences_Reset ()

Variables

CGameDescriptiong_pGameDescription
CGameDialog g_GamesDialog
PrefsDlg g_Preferences
preferences_globals_t g_preferences_globals

Define Documentation

#define INCLUDED_PREFERENCES_H

Definition at line 23 of file preferences.h.


Typedef Documentation

typedef struct _GtkWidget GtkWidget

Definition at line 230 of file preferences.h.

typedef struct _GtkWindow GtkWindow

Definition at line 341 of file preferences.h.

typedef LatchedValue<bool> LatchedBool

Definition at line 181 of file preferences.h.

typedef MemberCaller1<LatchedBool, bool, &LatchedBool::import> LatchedBoolImportCaller

Definition at line 182 of file preferences.h.

typedef LatchedValue<int> LatchedInt

Definition at line 184 of file preferences.h.

typedef MemberCaller1<LatchedInt, int, &LatchedInt::import> LatchedIntImportCaller

Definition at line 185 of file preferences.h.

Definition at line 147 of file preferences.h.

Definition at line 136 of file preferences.h.


Function Documentation

void Preferences_Init (  ) 
void Preferences_Load (  ) 
void Preferences_Reset (  ) 
void Preferences_Save (  ) 
void PreferencesDialog_addInterfacePage ( const PreferenceGroupCallback callback  ) 
void PreferencesDialog_addInterfacePreferences ( const PreferencesPageCallback callback  ) 
void PreferencesDialog_addSettingsPage ( const PreferenceGroupCallback callback  ) 
void PreferencesDialog_addSettingsPreferences ( const PreferencesPageCallback callback  ) 
void PreferencesDialog_constructWindow ( GtkWindow main_window  ) 
void PreferencesDialog_destroyWindow (  ) 
void PreferencesDialog_restartRequired ( const std::string staticName  ) 
void PreferencesDialog_showDialog (  ) 
void Widget_connectToggleDependency ( GtkWidget self,
GtkWidget toggleButton 
)

Variable Documentation

this holds global level preferences


Generated by  doxygen 1.6.2