1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) John Stebbins 2008 <stebbins@stebbins>
6 * callbacks.h is free software.
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)
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.
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.
25 #if !defined(_CALLBACKS_H_)
31 void ghb_check_all_depencencies(signal_user_data_t *ud);
32 gboolean ghb_timer_cb(gpointer data);
33 gboolean ghb_log_cb(GIOChannel *source, GIOCondition cond, gpointer data);
34 void debug_log_handler(
35 const gchar *domain, GLogLevelFlags flags, const gchar *msg, gpointer ud);
36 void ghb_hbfd(signal_user_data_t *ud, gboolean hbfd);
37 void ghb_file_menu_add_dvd(signal_user_data_t *ud);
39 gboolean ghb_message_dialog(
40 GtkMessageType type, const gchar *message,
41 const gchar *no, const gchar *yes);
42 void ghb_init_dep_map();
43 gboolean ghb_reload_queue(signal_user_data_t *ud);
44 gboolean ghb_cancel_encode(const gchar *extra_msg);
45 GValue* ghb_start_next_job(signal_user_data_t *ud, gboolean find_first);
46 void ghb_check_dependency(signal_user_data_t *ud, GtkWidget *widget);
47 void ghb_do_scan(signal_user_data_t *ud, const gchar *filename, gboolean force);
49 #endif // _CALLBACKS_H_