diff options
Diffstat (limited to 'gtk/src/presets.h')
-rw-r--r-- | gtk/src/presets.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gtk/src/presets.h b/gtk/src/presets.h new file mode 100644 index 000000000..44f9cdd9b --- /dev/null +++ b/gtk/src/presets.h @@ -0,0 +1,37 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA + */ +#if !defined(_GHB_PRESETS_H_) +#define _GHB_PRESETS_H_ + +gint ghb_preset_flags(const gchar *name); +GList* ghb_presets_get_names(void); +gchar* ghb_presets_get_description(const gchar *name); + +void ghb_settings_save(signal_user_data_t *ud, const gchar *name); +void ghb_presets_load(void); +void ghb_presets_reload(signal_user_data_t *ud); +void ghb_set_preset(signal_user_data_t *ud, const gchar *name); +void ghb_update_from_preset( + signal_user_data_t *ud, const gchar *name, const gchar *key); +void ghb_presets_remove(const gchar *name); +void ghb_prefs_load(signal_user_data_t *ud); +void ghb_settings_init(signal_user_data_t *ud); +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); + +#endif // _GHB_PRESETS_H_ |