source: releases/Pester/1.1a5/Source/PSAlert.h@ 567

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

Updated for Pester 1.1a5 (very limited release).

Pester 1.1a4 was never released.

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