source: releases/Pester/1.1a5/Source/PSAlerts.h@ 541

Last change on this file since 541 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: 695 bytes
Line 
1//
2// PSAlerts.h
3// Pester
4//
5// Created by Nicholas Riley on Sat Dec 21 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import <AppKit/AppKit.h>
10#import "PSPropertyListSerialization.h"
11
12@class PSAlert, PSAlarm;
13
14@interface PSAlerts : NSObject <PSPropertyListSerialization>
15{
16 NSMutableArray *alerts;
17 BOOL requirePesterFrontmost;
18}
19
20- (id)init;
21- (id)initWithPesterVersion1Alerts;
22
23- (void)addAlert:(PSAlert *)alert;
24- (void)removeAlerts;
25
26- (NSArray *)allAlerts;
27- (NSEnumerator *)alertEnumerator;
28- (BOOL)requirePesterFrontmost; // do any alerts require Pester be in front?
29
30- (void)triggerForAlarm:(PSAlarm *)alarm;
31
32- (NSAttributedString *)prettyList;
33
34@end
Note: See TracBrowser for help on using the repository browser.