Added remove
This commit is contained in:
parent
6ae642bfda
commit
c8f84d6a92
|
@ -47,22 +47,22 @@ struct _GmOptionsClass {
|
||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
|
|
||||||
/* Signals */
|
/* Signals */
|
||||||
void (* option_changed) (GmOptions *options, const gchar *key);
|
void (* option_changed) (GmOptions *options, gchar const *key);
|
||||||
};
|
};
|
||||||
|
|
||||||
GType gm_options_get_type(void) G_GNUC_CONST;
|
GType gm_options_get_type(void) G_GNUC_CONST;
|
||||||
GmOptions *gm_options_new(void);
|
GmOptions *gm_options_new(void);
|
||||||
|
|
||||||
GmOptions *gm_options_dup(GmOptions *source);
|
GmOptions *gm_options_dup(GmOptions *source);
|
||||||
void gm_options_add(GmOptions *options, const gchar *key, const gchar *value);
|
void gm_options_set(GmOptions *options, gchar const *key, gchar const *value);
|
||||||
void gm_options_set(GmOptions *options, const gchar *key, const gchar *value);
|
gchar const *gm_options_get(GmOptions *options, gchar const *key);
|
||||||
const gchar *gm_options_get(GmOptions *options, const gchar *key);
|
void gm_options_set_int(GmOptions *options, gchar const *key, int value);
|
||||||
void gm_options_set_int(GmOptions *options, const gchar *key, int value);
|
int gm_options_get_int(GmOptions *options, gchar const *key);
|
||||||
int gm_options_get_int(GmOptions *options, const gchar *key);
|
void gm_options_remove(GmOptions *options, gchar const *key);
|
||||||
|
|
||||||
void gm_options_save(GmOptions *options);
|
void gm_options_save(GmOptions *options);
|
||||||
void gm_options_save_as(GmOptions *options, const gchar *filename);
|
void gm_options_save_as(GmOptions *options, gchar const *filename);
|
||||||
void gm_options_load(GmOptions *options, const gchar *filename);
|
void gm_options_load(GmOptions *options, gchar const *filename);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Reference in New Issue