49 virtual void *createData(
const void*);
50 virtual void deleteData(
void*);
68 bool parseFile(
const FXString& filename,
bool mark);
71 bool unparseFile(
const FXString& filename);
122 bool deleteEntry(const
FXchar *section,const
FXchar *key);
125 bool existingEntry(const
FXchar *section,const
FXchar *key);
128 bool deleteSection(const
FXchar *section);
131 bool existingSection(const
FXchar *section);
137 void setModified(
bool mdfy=true){ modified=mdfy; }
140 bool isModified()
const {
return modified; }
143 virtual ~FXSettings();
void * find(const FXchar *ky) const
Find data pointer given key.
FXString enquote(const FXString &file, bool forcequotes=false)
Enquote filename to make safe for shell.
char FXchar
Definition: fxdefs.h:380
unsigned int FXuint
Definition: fxdefs.h:389
#define FX_SCANF(fmt, arg)
Definition: fxdefs.h:140
FXString dequote(const FXString &file)
Dequote filename to get original again.
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:386
void * insert(const FXchar *ky, const void *ptr, bool mrk=false)
Insert a new entry into the table given key and mark.
String dictionary maps a character string to a character string.
Definition: FXStringDict.h:37
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:447
void * data(FXuint pos) const
return data pointer at position pos.
Definition: FXDict.h:108
The Settings class manages a key-value database.
Definition: FXSettings.h:44
void * remove(const FXchar *ky)
Remove data given key.
double FXdouble
Definition: fxdefs.h:392
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
The dictionary class maintains a fast-access hash table of entities indexed by a character string...
Definition: FXDict.h:41
#define FALSE
Definition: fxdefs.h:35
#define FX_PRINTF(fmt, arg)
Definition: fxdefs.h:139
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
void * replace(const FXchar *ky, const void *ptr, bool mrk=false)
Replace data at key, if the entry's mark is less than or equal to the given mark. ...
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33