OSDN Git Service

MacGui: Remove Target Size as a rate control option as it doesn't really work correct...
[handbrake-jp/handbrake-jp-git.git] / gtk / src / subtitlehandler.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3  * subtitlehandler.h
4  * Copyright (C) John Stebbins 2008-2011 <stebbins@stebbins>
5  * 
6  * audiohandler.h is free software.
7  * 
8  * You may redistribute it and/or modify it under the terms of the
9  * GNU General Public License, as published by the Free Software
10  * Foundation; either version 2 of the License, or (at your option)
11  * any later version.
12  * 
13  * callbacks.h is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  * 
18  * You should have received a copy of the GNU General Public License
19  * along with callbacks.h.  If not, write to:
20  *      The Free Software Foundation, Inc.,
21  *      51 Franklin Street, Fifth Floor
22  *      Boston, MA  02110-1301, USA.
23  */
24
25 #if !defined(_SUBTITLEHANDLER_H_)
26 #define _SUBTITLEHANDLER_H_
27
28 #include "settings.h"
29
30 void ghb_set_pref_subtitle(gint titleindex, signal_user_data_t *ud);
31 void ghb_clear_subtitle_list(signal_user_data_t *ud);
32 void ghb_set_subtitle(signal_user_data_t *ud, gint track, GValue *settings);
33 GValue* ghb_selected_subtitle_settings(signal_user_data_t *ud);
34 gint ghb_selected_subtitle_row(signal_user_data_t *ud);
35 void ghb_add_subtitle(
36         signal_user_data_t *ud, GValue *settings);
37 void ghb_reset_subtitles(signal_user_data_t *ud, GValue *settings);
38 void ghb_subtitle_prune(signal_user_data_t *ud);
39 gboolean ghb_soft_in_subtitle_list(GValue *subtitle_list);
40
41 #endif // _SUBTITLEHANDLER_H_