Changeset 34 for trunk/Cocoa/Pester/Source/PSApplication.m
- Timestamp:
- 10/29/02 22:20:58 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/PSApplication.m
r28 r34 9 9 #import "PSApplication.h" 10 10 #import "PSAlarmSetController.h" 11 #import "PSAlarm NotifierController.h"11 #import "PSAlarmAlertController.h" 12 12 #import "PSAlarmsController.h" 13 13 #import "PSAlarm.h" … … 19 19 { 20 20 appIconImage = [[NSImage imageNamed: @"NSApplicationIcon"] retain]; 21 [[NSNotificationCenter defaultCenter] addObserver: [PSAlarm NotifierController class] selector: @selector(controllerWithTimerExpiredNotification:) name: PSAlarmTimerExpiredNotification object: nil];21 [[NSNotificationCenter defaultCenter] addObserver: [PSAlarmAlertController class] selector: @selector(controllerWithTimerExpiredNotification:) name: PSAlarmTimerExpiredNotification object: nil]; 22 22 [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(nextAlarmDidChange:) name: PSAlarmsNextAlarmDidChangeNotification object: nil]; 23 23 [PSAlarms setUp]; … … 30 30 [[NSWorkspace sharedWorkspace] openFile: [[NSBundle mainBundle] pathForResource: @"Read Me" ofType: @"rtfd"]]; 31 31 } 32 33 - (IBAction)stopAlerts:(id)sender; 34 { 35 [PSAlarmAlertController stopAlerts: sender]; 36 } 32 37 33 38 - (IBAction)orderFrontSetAlarmPanel:(id)sender;
Note:
See TracChangeset
for help on using the changeset viewer.