## KeyFile Settings

KeyFile Settings — Settings manager using key files

## Synopsis

    #include <ogmrip-keyfile-settings.h>

    struct              OGMRipKeyFileSettings;
    struct              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);

## Description

## Details

### struct OGMRipKeyFileSettings

    struct OGMRipKeyFileSettings {
      GObject parent_instance;

      OGMRipKeyFileSettingsPriv *priv;
    };

### struct OGMRipKeyFileSettingsClass

    struct OGMRipKeyFileSettingsClass {
      GObjectClass parent_class;
    };

### ogmrip_keyfile_settings_new ()

    OGMRipSettings *    ogmrip_keyfile_settings_new         (void);

Creates a new OGMRipSettings

Returns : | the new OGMRipSettings

### ogmrip_keyfile_settings_load ()

    gboolean            ogmrip_keyfile_settings_load        (OGMRipKeyFileSettings *settings,
                                                             const gchar *filename,
                                                             GError **error);

Loads a key file.

`settings` : | an OGMRipKeyFileSettings
`filename` : | the filename to load
`error` : | return location for error
Returns : | `TRUE` on success, `FALSE` if an error was set

### ogmrip_keyfile_settings_save ()

    gboolean            ogmrip_keyfile_settings_save        (OGMRipKeyFileSettings *settings,
                                                             const gchar *filename,
                                                             GError **error);

Saves a key file.

`settings` : | an OGMRipKeyFileSettings
`filename` : | the filename where to save the keys and values
`error` : | return location for error
Returns : | `TRUE` on success, `FALSE` if an error was set