source: releases/Pester/1.1a3/Source/PSNotifierAlert.m@ 200

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

Changes for Pester 1.1d1.

File size: 576 bytes
Line 
1//
2// PSNotifierAlert.m
3// Pester
4//
5// Created by Nicholas Riley on Sat Oct 26 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import "PSNotifierAlert.h"
10#import "PSAlarmNotifierController.h"
11
12static PSNotifierAlert *PSNotifierAlertShared;
13
14@implementation PSNotifierAlert
15
16+ (PSAlert *)alert;
17{
18 if (PSNotifierAlertShared == nil)
19 PSNotifierAlertShared = [[PSNotifierAlert alloc] init];
20 return PSNotifierAlertShared;
21}
22
23- (void)triggerForAlarm:(PSAlarm *)alarm;
24{
25 [[PSAlarmNotifierController alloc] initWithAlarm: alarm];
26}
27
28@end
Note: See TracBrowser for help on using the repository browser.