diff options
Diffstat (limited to 'gtk/src/callbacks.h')
-rw-r--r-- | gtk/src/callbacks.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gtk/src/callbacks.h b/gtk/src/callbacks.h new file mode 100644 index 000000000..53c8ed25d --- /dev/null +++ b/gtk/src/callbacks.h @@ -0,0 +1,42 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ +/* + * callbacks.h + * Copyright (C) John Stebbins 2008 <stebbins@stebbins> + * + * callbacks.h is free software. + * + * You may redistribute it and/or modify it under the terms of the + * GNU General Public License, as published by the Free Software + * Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * callbacks.h is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with callbacks.h. If not, write to: + * The Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor + * Boston, MA 02110-1301, USA. + */ + +#if !defined(_CALLBACKS_H_) +#define _CALLBACKS_H_ + +#include <gtk/gtk.h> +#include "settings.h" + +void ghb_check_all_depencencies(signal_user_data_t *ud); +void ghb_presets_list_update(signal_user_data_t *ud); +gboolean ghb_timer_cb(gpointer data); +gboolean ghb_log_cb(GIOChannel *source, GIOCondition cond, gpointer data); +void ghb_select_preset(GtkBuilder *builder, const gchar *preset); +void debug_log_handler(const gchar *domain, GLogLevelFlags flags, const gchar *msg, gpointer ud); +void ghb_hbfd(signal_user_data_t *ud, gboolean hbfd); +void ghb_hal_init(); +gboolean ghb_message_dialog(GtkMessageType type, const gchar *message, const gchar *no, const gchar *yes); + +#endif // _CALLBACKS_H_ + |