source: releases/Pester/1.1b1/Source/PSAlarms.h@ 556

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

PSScriptAlert.m: Removed reference to NDAppleScriptObject.

PSMovieAlertController.[hm]: Added minimum sizing.

NJRCenteringMovieView.[hm]: Support for centering movie inside its
frame if the frame is too large for the movie; sizes movie
proportionally if necessary (not used in Pester).

NSImage-NJRExtensions.[hm]: Fixed copyright.

Read Me.rtfd: Updated with bug fixes.

PSMovieAlert.m: Note bug in NSMovieView, currently doesn't affect us.

NJRQTMediaPopUpButton.m: Work around background processor use bug when
NSMovieView has movie set but not playing.

NJRVoicePopUpButton.m: Removed obsolete comment.

PSApplication.m: Only show alarm set window on rapp if alerts aren't
expiring.

PSAlarms.[hm]: Added -alarmsExpiring for support of conditional
rapp window open feature in PSApplication.

PSAlarmSetController.m: Stop window update timer and movie playback on
hide, restart timer on activate - fixes background processor usage.

File size: 905 bytes
Line 
1//
2// PSAlarms.h
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 <Cocoa/Cocoa.h>
10#import "PSPropertyListSerialization.h"
11
12extern NSString * const PSAlarmsDidChangeNotification;
13extern NSString * const PSAlarmsNextAlarmDidChangeNotification;
14
15@class PSAlarm;
16
17@interface PSAlarms : NSObject <PSPropertyListSerialization> {
18 NSMutableArray *alarms;
19 NSMutableSet *expiredAlarms;
20 PSAlarm *nextAlarm;
21}
22
23+ (void)setUp;
24+ (PSAlarms *)allAlarms;
25
26- (unsigned)countOfVersion1Alarms;
27- (void)importVersion1Alarms;
28- (void)discardVersion1Alarms;
29
30- (NSArray *)alarms;
31
32- (PSAlarm *)nextAlarm;
33- (int)alarmCount;
34- (PSAlarm *)alarmAtIndex:(int)index;
35- (void)removeAlarmAtIndex:(int)index;
36- (void)removeAlarmsAtIndices:(NSArray *)indices;
37- (void)removeAlarms:(NSSet *)alarmsToRemove;
38
39- (BOOL)alarmsExpiring;
40
41@end
Note: See TracBrowser for help on using the repository browser.