OSDN Git Service

import 0.9.3
[handbrake-jp/handbrake-jp.git] / gtk / src / presets.h
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 2 of the License, or
5  * (at your option) any later version.
6  * 
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU Library General Public License for more details.
11  * 
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software
14  * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
15  */
16 #if !defined(_GHB_PRESETS_H_)
17 #define _GHB_PRESETS_H_
18
19 void ghb_settings_save(signal_user_data_t *ud, const gchar *name);
20 void ghb_presets_load(void);
21 void ghb_update_from_preset(signal_user_data_t *ud, const gchar *key);
22 void ghb_prefs_load(signal_user_data_t *ud);
23 void ghb_settings_init(signal_user_data_t *ud);
24 void ghb_settings_close();
25 void ghb_prefs_to_ui(signal_user_data_t *ud);
26 void ghb_prefs_save(GValue *settings);
27 void ghb_pref_save(GValue *settings, const gchar *key);
28 void ghb_save_queue(GValue *queue);
29 GValue* ghb_load_queue();
30 void ghb_remove_queue_file(void);;
31 gchar* ghb_get_user_config_dir(gchar *subdir);
32 void ghb_settings_to_ui(signal_user_data_t *ud, GValue *dict);
33 void ghb_clear_presets_selection(signal_user_data_t *ud);
34 void ghb_select_preset(GtkBuilder *builder, 
35                 const GValue *preset);
36 void ghb_select_default_preset(GtkBuilder *builder);
37 void ghb_presets_list_init(signal_user_data_t *ud, gint *indices, gint len);
38 GValue* ghb_parse_preset_path(const gchar *path);
39 gchar* ghb_preset_path_string(const GValue *path);
40 gboolean ghb_preset_is_custom(void);
41
42 #endif // _GHB_PRESETS_H_