Changeset 849


Ignore:
Timestamp:
Sep 5, 2006, 4:37:07 AM (15 years ago)
Author:
livings124
Message:

check for files to auto import at launch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r848 r849  
    208208    io_object_t iterator;
    209209    if (fRootPort = IORegisterForSystemPower(self, & notify, sleepCallBack, & iterator))
    210         CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(notify),
    211                             kCFRunLoopCommonModes);
     210        CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(notify), kCFRunLoopCommonModes);
    212211    else
    213212        NSLog(@"Could not IORegisterForSystemPower");
     
    366365    fSpeedLimitTimer = [NSTimer scheduledTimerWithTimeInterval: AUTO_SPEED_LIMIT_SECONDS target: self
    367366        selector: @selector(autoSpeedLimit:) userInfo: nil repeats: YES];
     367   
     368    [self checkAutoImportDirectory];
    368369}
    369370
Note: See TracChangeset for help on using the changeset viewer.