Changeset 514
- Timestamp:
- Jul 4, 2006, 3:49:37 PM (16 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r513 r514 148 148 io_object_t iterator; 149 149 if (fRootPort = IORegisterForSystemPower(self, & notify, sleepCallBack, & iterator)) 150 {151 150 CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(notify), 152 151 kCFRunLoopCommonModes); 153 }154 152 else 155 153 NSLog(@"Could not IORegisterForSystemPower");
Note: See TracChangeset
for help on using the changeset viewer.