|
Fl_Preferences::ID | addPlugin (const char *name, Fl_Plugin *plugin) |
| This function adds a new plugin to the database. More...
|
|
| Fl_Plugin_Manager (const char *klass) |
| Manage all plugins belonging to one class.
|
|
Fl_Plugin * | plugin (const char *name) |
| Return the address of a plugin by name.
|
|
Fl_Plugin * | plugin (int index) |
| Return the address of a plugin by index.
|
|
int | plugins () |
| Return the number of plugins in the klass.
|
|
| ~Fl_Plugin_Manager () |
| Remove the plugin manager. More...
|
|
char | clear () |
| Delete all groups and all entries.
|
|
char | deleteAllEntries () |
| Delete all entries.
|
|
char | deleteAllGroups () |
| Delete all groups.
|
|
char | deleteEntry (const char *entry) |
| Deletes a single name/value pair. More...
|
|
char | deleteGroup (const char *group) |
| Deletes a group. More...
|
|
int | entries () |
| Returns the number of entries (name/value pairs) in a group. More...
|
|
const char * | entry (int index) |
| Returns the name of an entry. More...
|
|
char | entryExists (const char *key) |
| Returns non-zero if an entry with this name exists. More...
|
|
| Fl_Preferences (const char *path, const char *vendor, const char *application) |
| Use this constructor to create or read a preferences file at an arbitrary position in the file system. More...
|
|
| Fl_Preferences (const Fl_Preferences &) |
| Create another reference to a Preferences group.
|
|
| Fl_Preferences (Fl_Preferences &parent, const char *group) |
| Generate or read a new group of entries within another group. More...
|
|
| Fl_Preferences (Fl_Preferences &parent, int groupIndex) |
| Open a child group using a given index. More...
|
|
| Fl_Preferences (Fl_Preferences *parent, const char *group) |
| Create or access a group of preferences using a name. More...
|
|
| Fl_Preferences (Fl_Preferences *parent, int groupIndex) |
|
| Fl_Preferences (ID id) |
| Create a new dataset access point using a dataset ID. More...
|
|
| Fl_Preferences (Root root, const char *vendor, const char *application) |
| The constructor creates a group that manages name/value pairs and child groups. More...
|
|
void | flush () |
| Writes all preferences to disk. More...
|
|
char | get (const char *entry, char *&value, const char *defaultValue) |
| Reads an entry from the group. More...
|
|
char | get (const char *entry, char *value, const char *defaultValue, int maxSize) |
| Reads an entry from the group. More...
|
|
char | get (const char *entry, double &value, double defaultValue) |
| Reads an entry from the group. More...
|
|
char | get (const char *entry, float &value, float defaultValue) |
| Reads an entry from the group. More...
|
|
char | get (const char *entry, int &value, int defaultValue) |
| Reads an entry from the group. More...
|
|
char | get (const char *entry, void *&value, const void *defaultValue, int defaultSize) |
| Reads an entry from the group. More...
|
|
char | get (const char *entry, void *value, const void *defaultValue, int defaultSize, int maxSize) |
| Reads an entry from the group. More...
|
|
char | getUserdataPath (char *path, int pathlen) |
| Creates a path that is related to the preferences file and that is usable for additional application data. More...
|
|
const char * | group (int num_group) |
| Returns the name of the Nth (num_group ) group. More...
|
|
char | groupExists (const char *key) |
| Returns non-zero if a group with this name exists. More...
|
|
int | groups () |
| Returns the number of groups that are contained within a group. More...
|
|
ID | id () |
| Return an ID that can later be reused to open more references to this dataset.
|
|
const char * | name () |
| Return the name of this entry.
|
|
const char * | path () |
| Return the full path to this entry.
|
|
char | set (const char *entry, const char *value) |
| Sets an entry (name/value pair). More...
|
|
char | set (const char *entry, const void *value, int size) |
| Sets an entry (name/value pair). More...
|
|
char | set (const char *entry, double value) |
| Sets an entry (name/value pair). More...
|
|
char | set (const char *entry, double value, int precision) |
| Sets an entry (name/value pair). More...
|
|
char | set (const char *entry, float value) |
| Sets an entry (name/value pair). More...
|
|
char | set (const char *entry, float value, int precision) |
| Sets an entry (name/value pair). More...
|
|
char | set (const char *entry, int value) |
| Sets an entry (name/value pair). More...
|
|
int | size (const char *entry) |
| Returns the size of the value part of an entry. More...
|
|
virtual | ~Fl_Preferences () |
| The destructor removes allocated resources. More...
|
|