Changeset 61 for trunk/Cocoa/Pester/Source/PSApplication.m
- Timestamp:
- 01/06/03 13:05:29 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/PSApplication.m
r60 r61 13 13 #import "PSAlarm.h" 14 14 #import "PSAlarms.h" 15 #import "PSTimer.h" 15 16 16 17 @implementation PSApplication … … 64 65 - (void)_setUpdateTimerForInterval:(NSTimeInterval)interval alarm:(PSAlarm *)alarm repeats:(BOOL)repeats; 65 66 { 66 dockUpdateTimer = [ NSTimer scheduledTimerWithTimeInterval: interval target: self selector: @selector(_updateDockTile:) userInfo: alarm repeats: repeats];67 dockUpdateTimer = [PSTimer scheduledTimerWithTimeInterval: interval target: self selector: @selector(_updateDockTile:) userInfo: alarm repeats: repeats]; 67 68 [dockUpdateTimer retain]; 68 69 dockUpdateInterval = interval; // because [timer timeInterval] always returns 0 once set 69 70 } 70 71 71 - (void)_updateDockTile:( NSTimer *)timer;72 - (void)_updateDockTile:(PSTimer *)timer; 72 73 { 73 74 PSAlarm *alarm = [timer userInfo]; … … 201 202 NS_ENDHANDLER 202 203 case NSAlertAlternateReturn: 203 NSLog(@"discard"); 204 // [allAlarms discardVersion1Alarms]; 204 [allAlarms discardVersion1Alarms]; 205 205 break; 206 206 case NSAlertOtherReturn: 207 NSLog(@"donÕt import");208 207 break; 209 208 }
Note:
See TracChangeset
for help on using the changeset viewer.