OGMRip Reference Manual | ||||
---|---|---|---|---|
#include <ogmrip-keyfile-settings.h> OGMRipKeyFileSettings; OGMRipKeyFileSettingsClass; OGMRipSettings* ogmrip_keyfile_settings_new (void); gboolean ogmrip_keyfile_settings_load (OGMRipKeyFileSettings *settings, const gchar *filename, GError **error); gboolean ogmrip_keyfile_settings_save (OGMRipKeyFileSettings *settings, const gchar *filename, GError **error);
typedef struct { GObject parent_instance; OGMRipKeyFileSettingsPriv *priv; } OGMRipKeyFileSettings;
typedef struct { GObjectClass parent_class; } OGMRipKeyFileSettingsClass;
OGMRipSettings* ogmrip_keyfile_settings_new (void);
Creates a new OGMRipSettings
Returns : |
the new OGMRipSettings |
gboolean ogmrip_keyfile_settings_load (OGMRipKeyFileSettings *settings, const gchar *filename, GError **error);
Loads a key file.
|
an OGMRipKeyFileSettings |
|
the filename to load |
|
return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
gboolean ogmrip_keyfile_settings_save (OGMRipKeyFileSettings *settings, const gchar *filename, GError **error);
Saves a key file.
|
an OGMRipKeyFileSettings |
|
the filename where to save the keys and values |
|
return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|