CCAux  2.7.2.0
CCAux API reference
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Namespaces | Typedefs | Enumerations | Functions
PowerMgr.h File Reference

Go to the source code of this file.

Namespaces

namespace  CrossControl
 

Typedefs

typedef enum
CrossControl::PowerMgrConf 
_PowerMgrConf
 
typedef enum
CrossControl::PowerMgrStatus 
_PowerMgrStatus
 
typedef void * POWERMGRHANDLE
 

Enumerations

enum  PowerMgrConf { Normal = 0, ApplicationControlled = 1, BatterySuspend = 2 }
 
enum  PowerMgrStatus { NoRequestsPending = 0, SuspendPending = 1, ShutdownPending = 2 }
 

Functions

EXTERN_C CCAUXDLL_API
POWERMGRHANDLE
CCAUXDLL_CALLING_CONV 
GetPowerMgr (void)
 
EXTERN_C CCAUXDLL_API void
CCAUXDLL_CALLING_CONV 
PowerMgr_release (POWERMGRHANDLE)
 
EXTERN_C CCAUXDLL_API eErr
CCAUXDLL_CALLING_CONV 
PowerMgr_registerControlledSuspendOrShutDown (POWERMGRHANDLE, PowerMgrConf conf)
 
EXTERN_C CCAUXDLL_API eErr
CCAUXDLL_CALLING_CONV 
PowerMgr_getConfiguration (POWERMGRHANDLE, PowerMgrConf *conf)
 
EXTERN_C CCAUXDLL_API eErr
CCAUXDLL_CALLING_CONV 
PowerMgr_getPowerMgrStatus (POWERMGRHANDLE, PowerMgrStatus *status)
 
EXTERN_C CCAUXDLL_API eErr
CCAUXDLL_CALLING_CONV 
PowerMgr_setAppReadyForSuspendOrShutdown (POWERMGRHANDLE)
 
EXTERN_C CCAUXDLL_API eErr
CCAUXDLL_CALLING_CONV 
PowerMgr_hasResumed (POWERMGRHANDLE, bool *resumed)