summaryrefslogtreecommitdiffstats
path: root/libhb/ports.h
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-02-04 19:44:40 +0000
committersr55 <[email protected]>2013-02-04 19:44:40 +0000
commit4ea1e568a7ad2e8ae4068d76e00f30dd77e280bd (patch)
tree68346349bc30a460a601df550235dad3c0d7674f /libhb/ports.h
parenta735c9046533954e1bba5cf8996d98e15b2e86cc (diff)
Prevent OSX ML sleep during encoding, thanks to Jerome Lacube
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5238 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/ports.h')
-rw-r--r--libhb/ports.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/ports.h b/libhb/ports.h
index 23879fcb1..9f7da2b14 100644
--- a/libhb/ports.h
+++ b/libhb/ports.h
@@ -102,6 +102,14 @@ int hb_net_send( hb_net_t *, char * );
int hb_net_recv( hb_net_t *, char *, int );
void hb_net_close( hb_net_t ** );
+/************************************************************************
+* OS Sleep Allow / Prevent
+***********************************************************************/
+void * hb_system_sleep_opaque_init();
+void hb_system_sleep_opaque_close( void ** opaque );
+void hb_system_sleep_allow( void * opaque );
+void hb_system_sleep_prevent( void * opaque );
+
#endif /* __LIBHB__ */
#endif