Ignore:
Timestamp:
10/29/02 22:20:58 (21 years ago)
Author:
Nicholas Riley
Message:

Changes for Pester 1.1d1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSApplication.m

    r28 r34  
    99#import "PSApplication.h"
    1010#import "PSAlarmSetController.h"
    11 #import "PSAlarmNotifierController.h"
     11#import "PSAlarmAlertController.h"
    1212#import "PSAlarmsController.h"
    1313#import "PSAlarm.h"
     
    1919{
    2020    appIconImage = [[NSImage imageNamed: @"NSApplicationIcon"] retain];
    21     [[NSNotificationCenter defaultCenter] addObserver: [PSAlarmNotifierController class] selector: @selector(controllerWithTimerExpiredNotification:) name: PSAlarmTimerExpiredNotification object: nil];
     21    [[NSNotificationCenter defaultCenter] addObserver: [PSAlarmAlertController class] selector: @selector(controllerWithTimerExpiredNotification:) name: PSAlarmTimerExpiredNotification object: nil];
    2222    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(nextAlarmDidChange:) name: PSAlarmsNextAlarmDidChangeNotification object: nil];
    2323    [PSAlarms setUp];
     
    3030    [[NSWorkspace sharedWorkspace] openFile: [[NSBundle mainBundle] pathForResource: @"Read Me" ofType: @"rtfd"]];
    3131}
     32
     33- (IBAction)stopAlerts:(id)sender;
     34{
     35    [PSAlarmAlertController stopAlerts: sender];
     36}       
    3237
    3338- (IBAction)orderFrontSetAlarmPanel:(id)sender;
Note: See TracChangeset for help on using the changeset viewer.