OSDN Git Service

Add Bluray support
[handbrake-jp/handbrake-jp-git.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(signal_user_data_t *ud);
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 GValue* ghb_load_old_queue(int pid);
31 void ghb_remove_queue_file(void);
32 void ghb_remove_old_queue_file(int pid);
33 gchar* ghb_get_user_config_dir(gchar *subdir);
34 void ghb_settings_to_ui(signal_user_data_t *ud, GValue *dict);
35 void ghb_clear_presets_selection(signal_user_data_t *ud);
36 void ghb_select_preset(GtkBuilder *builder, 
37                 const GValue *preset);
38 void ghb_select_default_preset(GtkBuilder *builder);
39 void ghb_presets_list_init(signal_user_data_t *ud, gint *indices, gint len);
40 GValue* ghb_parse_preset_path(const gchar *path);
41 gchar* ghb_preset_path_string(const GValue *path);
42 gboolean ghb_preset_is_custom(void);
43 void ghb_prefs_store(void);
44 void ghb_pref_set(GValue *settings, const gchar *key);
45 gboolean ghb_lock_file(const gchar *name);
46 void ghb_refresh_preset(signal_user_data_t *ud);
47 int ghb_find_pid_file();
48 void ghb_unlink_pid_file(int pid);
49 void ghb_write_pid_file();
50
51 #endif // _GHB_PRESETS_H_