source: trunk/Cocoa/Pester/Source/PSAlert.h@ 53

Last change on this file since 53 was 53, checked in by Nicholas Riley, 21 years ago

Updated for Pester 1.1a5 (very limited release).

Pester 1.1a4 was never released.

File size: 781 bytes
RevLine 
[34]1//
2// PSAlert.h
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 <Foundation/Foundation.h>
10#import "PSAlarm.h"
[53]11#import "PSPropertyListSerialization.h"
12#import "NSString-NJRExtensions.h"
[34]13
[53]14extern NSString * const PSAlertCreationException;
[34]15
[53]16extern NSString * const PSAlarmAlertCompletedNotification; // userInfo key: "alert" -> PSAlert
17
18@interface PSAlert : NSObject <PSPropertyListSerialization> {
19
[34]20}
21
22// subclasses should implement these methods
23+ (PSAlert *)alert;
24- (void)triggerForAlarm:(PSAlarm *)alarm;
[53]25- (BOOL)requiresPesterFrontmost;
[34]26
[53]27- (NSAttributedString *)actionDescription;
28
29// after alert completes, invoke method of superclass
30- (void)completedForAlarm:(PSAlarm *)alarm;
31
[34]32@end
Note: See TracBrowser for help on using the repository browser.