Changeset 849 for trunk/macosx
- Timestamp:
- Sep 5, 2006, 4:37:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r848 r849 208 208 io_object_t iterator; 209 209 if (fRootPort = IORegisterForSystemPower(self, & notify, sleepCallBack, & iterator)) 210 CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(notify), 211 kCFRunLoopCommonModes); 210 CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(notify), kCFRunLoopCommonModes); 212 211 else 213 212 NSLog(@"Could not IORegisterForSystemPower"); … … 366 365 fSpeedLimitTimer = [NSTimer scheduledTimerWithTimeInterval: AUTO_SPEED_LIMIT_SECONDS target: self 367 366 selector: @selector(autoSpeedLimit:) userInfo: nil repeats: YES]; 367 368 [self checkAutoImportDirectory]; 368 369 } 369 370
Note: See TracChangeset
for help on using the changeset viewer.