source: releases/Pester/1.0b1/Source/PSApplication.m@ 422

Last change on this file since 422 was 26, checked in by Nicholas Riley, 22 years ago

Pester 1.0b1

File size: 802 bytes
Line 
1//
2// PSApplication.m
3// Pester
4//
5// Created by Nicholas Riley on Fri Oct 11 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import "PSApplication.h"
10#import "PSAlarmsController.h"
11#import "PSAlarmNotifierController.h"
12#import "PSAlarm.h"
13#import "PSAlarms.h"
14
15@implementation PSApplication
16
17- (void)finishLaunching;
18{
19 [[NSNotificationCenter defaultCenter] addObserver: [PSAlarmNotifierController class] selector: @selector(controllerWithTimerExpiredNotification:) name: PSAlarmTimerExpiredNotification object: nil];
20 [PSAlarms setUp];
21 [super finishLaunching];
22}
23
24- (IBAction)orderFrontAlarmsPanel:(id)sender;
25{
26 if (alarmsController == nil) {
27 alarmsController = [[PSAlarmsController alloc] init];
28 }
29 [alarmsController showWindow: self];
30}
31
32@end
Note: See TracBrowser for help on using the repository browser.