![]() |
![]() |
![]() |
Tracker Common Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#include <libtracker-common/tracker-common.h>
TrackerConfigFile;
TrackerConfigFileClass;
gboolean tracker_config_file_save (TrackerConfigFile *config
);
TrackerConfigFile is an abstract base class to help creating objects that proxy a configuration file, mirroring settings to disk and notifying of changes.
typedef struct { GObjectClass parent_class; void (* changed) (TrackerConfigFile *file); } TrackerConfigFileClass;
gboolean tracker_config_file_save (TrackerConfigFile *config
);
Writes the configuration stored in TrackerConfigFile to disk.
|
a TrackerConfigFile |
Returns : |
TRUE on success, FALSE otherwise.
|
"domain"
property"domain" gchar* : Read / Write / Construct
The prefix before .cfg for the filename.
Default value: NULL
"changed"
signalvoid user_function (TrackerConfigFile *config, gpointer user_data) : Run Last
the ::changed signal is emitted whenever the configuration file has changed on disk.
|
the TrackerConfigFile. |
|
user data set when the signal handler was connected. |