diff options
author | jstebbins <[email protected]> | 2009-01-13 18:39:54 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-01-13 18:39:54 +0000 |
commit | 3569f15ed3c1f9788b0a731bec79de3833e5e4ee (patch) | |
tree | fda658e4af68831555b8347fd6a55565c8851a33 /gtk/src/callbacks.h | |
parent | 45a6134a8e69da26f425cb26db85aeb2e711bf50 (diff) |
LinGui: inhibit sleep mode while encoding
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2080 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/callbacks.h')
-rw-r--r-- | gtk/src/callbacks.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/src/callbacks.h b/gtk/src/callbacks.h index e00e641af..1e7ad2f86 100644 --- a/gtk/src/callbacks.h +++ b/gtk/src/callbacks.h @@ -35,11 +35,11 @@ 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_file_menu_add_dvd(signal_user_data_t *ud); -void ghb_hal_init(); +void ghb_hal_init(void); gboolean ghb_message_dialog( GtkMessageType type, const gchar *message, const gchar *no, const gchar *yes); -void ghb_init_dep_map(); +void ghb_init_dep_map(void); gboolean ghb_reload_queue(signal_user_data_t *ud); gboolean ghb_cancel_encode(const gchar *extra_msg); GValue* ghb_start_next_job(signal_user_data_t *ud, gboolean find_first); @@ -47,6 +47,8 @@ void ghb_check_dependency(signal_user_data_t *ud, GtkWidget *widget); void ghb_do_scan(signal_user_data_t *ud, const gchar *filename, gboolean force); void ghb_log(gchar *log, ...); gpointer ghb_check_update(signal_user_data_t *ud); +void ghb_uninhibit_gpm(void); +void ghb_inhibit_gpm(void); #endif // _CALLBACKS_H_ |