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 warn_log_handler(
35 const gchar *domain, GLogLevelFlags flags, const gchar *msg, gpointer ud);
36 void debug_log_handler(
37 const gchar *domain, GLogLevelFlags flags, const gchar *msg, gpointer ud);
38 void ghb_hbfd(signal_user_data_t *ud, gboolean hbfd);
39 void ghb_file_menu_add_dvd(signal_user_data_t *ud);
40 void ghb_hal_init(void);
41 gboolean ghb_message_dialog(
42 GtkMessageType type, const gchar *message,
43 const gchar *no, const gchar *yes);
44 void ghb_init_dep_map(void);
45 gboolean ghb_reload_queue(signal_user_data_t *ud);
46 gboolean ghb_cancel_encode(const gchar *extra_msg);
47 GValue* ghb_start_next_job(signal_user_data_t *ud, gboolean find_first);
48 void ghb_check_dependency(signal_user_data_t *ud, GtkWidget *widget);
49 void ghb_do_scan( signal_user_data_t *ud, const gchar *filename,
50 gint titlenum, gboolean force);
51 void ghb_log(gchar *log, ...);
52 gpointer ghb_check_update(signal_user_data_t *ud);
53 void ghb_uninhibit_gpm(void);
54 void ghb_inhibit_gpm(void);
56 #endif // _CALLBACKS_H_