|
From: <kr_...@us...> - 2003-07-04 17:39:08
|
Update of /cvsroot/htoolkit/port/src/include In directory sc8-pr-cvs1:/tmp/cvs-serv31718/port/src/include Modified Files: HsPort.h Types.h Added Files: ConfigKey.h Log Message: Implementation for persistent configuration keys for both Windows and Linux. Under Windows they are stored in Windows Registry and under Linux they are stored in GConf configuration database --- NEW FILE: ConfigKey.h --- #ifndef CONFIGKEY_H #define CONFIGKEY_H #include "Types.h" char *osGetConfigStringKey(char *name, char *defvalue); void osSetConfigStringKey(char *name, char *value); int osGetConfigIntKey(char *szName, int defvalue); void osSetConfigIntKey(char *szName, int value); double osGetConfigDoubleKey(char *szName, double defvalue); void osSetConfigDoubleKey(char *szName, double value); BOOL osGetConfigBoolKey(char *szName, BOOL defvalue); void osSetConfigBoolKey(char *szName, BOOL value); #endif Index: HsPort.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/HsPort.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** HsPort.h 26 Apr 2003 21:02:17 -0000 1.4 --- HsPort.h 4 Jul 2003 17:39:05 -0000 1.5 *************** *** 17,18 **** --- 17,19 ---- #include "CommonDialogs.h" #include "Message.h" + #include "ConfigKey.h" Index: Types.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/Types.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Types.h 8 Jun 2003 21:11:48 -0000 1.11 --- Types.h 4 Jul 2003 17:39:05 -0000 1.12 *************** *** 66,69 **** --- 66,71 ---- #include <pango/pangox.h> #include <gnome.h> + #include <gconf/gconf.h> + #include <gconf/gconf-client.h> typedef GtkWidget *WindowHandle; |