summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-03-18 17:59:24 +0000
committerRodeo <[email protected]>2013-03-18 17:59:24 +0000
commitb15a531495fdd01eee3135055d2f52d25daf1967 (patch)
tree28bd90d22c91969d12f1df35a561e6326771db98 /libhb/common.h
parent17d69968280460c2c16d2e26e0a5232bde2b2adb (diff)
hb_system_sleep: allow/prevent sleep from the UI rather than libhb.
The code that sets/unsets the "power assertions" is still in libhb. Patch by Jérôme Lacube. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5336 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index bfd4b9b00..c73ac871f 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -1067,4 +1067,7 @@ const char * const * hb_h264_levels();
// x264 option name/synonym helper
const char * hb_x264_encopt_name( const char * name );
+void hb_prevent_sleep( hb_handle_t * );
+void hb_allow_sleep( hb_handle_t * );
+
#endif