diff options
Diffstat (limited to 'gtk/src/presets.h')
-rw-r--r-- | gtk/src/presets.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/src/presets.h b/gtk/src/presets.h index ff11e3f92..3b2f572b1 100644 --- a/gtk/src/presets.h +++ b/gtk/src/presets.h @@ -19,14 +19,13 @@ void ghb_settings_save(signal_user_data_t *ud, const gchar *name); void ghb_presets_load(void); void ghb_update_from_preset(signal_user_data_t *ud, - const gchar *folder, const gchar *name, const gchar *key); + const GValue *preset, const gchar *key); void ghb_prefs_load(signal_user_data_t *ud); void ghb_settings_init(signal_user_data_t *ud); void ghb_settings_close(); void ghb_prefs_to_ui(signal_user_data_t *ud); void ghb_prefs_save(GValue *settings); void ghb_pref_save(GValue *settings, const gchar *key); -void ghb_set_preset_default(GValue *settings); void ghb_save_queue(GValue *queue); GValue* ghb_load_queue(); void ghb_remove_queue_file(void);; @@ -34,8 +33,10 @@ gchar* ghb_get_user_config_dir(); void ghb_settings_to_ui(signal_user_data_t *ud, GValue *dict); void ghb_clear_presets_selection(signal_user_data_t *ud); void ghb_select_preset(GtkBuilder *builder, - const gchar *folder, const gchar *preset); -void ghb_presets_list_init( signal_user_data_t *ud, - GValue *presets, const gchar *parent_name, GtkTreeIter *parent); + const GValue *preset); +void ghb_select_default_preset(GtkBuilder *builder); +void ghb_presets_list_init(signal_user_data_t *ud, gint *indices, gint len); +GValue* ghb_parse_preset_path(const gchar *path); +gchar* ghb_preset_path_string(const GValue *path); #endif // _GHB_PRESETS_H_ |