Changeset 15905 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jan 13, 2009 9:26:39 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 41526
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/HostPower.h
r15454 r15905 91 91 92 92 static DECLCALLBACK(int) powerChangeNotificationThread (RTTHREAD ThreadSelf, void *pInstance); 93 static void powerChangeNotificationHandler (void *pData, io_service_t service, natural_t messageType, void *pMessageArgument); 94 static OSErr lowPowerEventHandler (const AppleEvent * theAppleEvent, AppleEvent * replyAppleEvent, long refCon); 93 static void powerChangeNotificationHandler (void *pvData, io_service_t service, natural_t messageType, void *pMessageArgument); 94 static void lowPowerHandler (void *pvData); 95 96 void checkBatteryCriticalLevel (bool *pfCriticalChanged = NULL); 95 97 96 98 /* Private member vars */ … … 101 103 io_object_t mNotifierObject; /* Notifier object, used to deregister later */ 102 104 CFRunLoopRef mRunLoop; /* A reference to the local thread run loop */ 105 106 bool mCritical; /* Indicate if the battery was in the critical state last checked */ 103 107 }; 104 108 # endif /* RT_OS_DARWIN */
Note:
See TracChangeset
for help on using the changeset viewer.