1 | // |
---|
2 | // PSAlarmSetController.h |
---|
3 | // Pester |
---|
4 | // |
---|
5 | // Created by Nicholas Riley on Tue Oct 08 2002. |
---|
6 | // Copyright (c) 2002 Nicholas Riley. All rights reserved. |
---|
7 | // |
---|
8 | |
---|
9 | #import <AppKit/AppKit.h> |
---|
10 | #import "PSAlarm.h" |
---|
11 | |
---|
12 | @class NJRFSObjectSelector; |
---|
13 | @class NJRSoundPopUpButton; |
---|
14 | @class NJRVoicePopUpButton; |
---|
15 | |
---|
16 | @interface PSAlarmSetController : NSWindowController { |
---|
17 | IBOutlet NSTextField *messageField; |
---|
18 | IBOutlet NSMatrix *inAtMatrix; |
---|
19 | IBOutlet NSTextField *timeInterval; |
---|
20 | IBOutlet NSPopUpButton *timeIntervalUnits; |
---|
21 | IBOutlet NSButton *timeIntervalRepeats; |
---|
22 | IBOutlet NSTextField *timeOfDay; |
---|
23 | IBOutlet NSTextField *timeDate; |
---|
24 | IBOutlet NSPopUpButton *timeDateCompletions; // XXX should go away when bug preventing both formatters and popup menus from existing is fixed |
---|
25 | IBOutlet NSButtonCell *displayMessage; |
---|
26 | IBOutlet NSButton *bounceDockIcon; |
---|
27 | IBOutlet NSButtonCell *playSound; |
---|
28 | IBOutlet NJRSoundPopUpButton *sound; |
---|
29 | IBOutlet NSTextField *soundRepetitions; |
---|
30 | IBOutlet NSStepper *soundRepetitionStepper; |
---|
31 | IBOutlet NSTextField *soundRepetitionsLabel; |
---|
32 | IBOutlet NSButtonCell *doScript; |
---|
33 | IBOutlet NJRFSObjectSelector *script; |
---|
34 | IBOutlet NSButtonCell *doSpeak; |
---|
35 | IBOutlet NJRVoicePopUpButton *voice; |
---|
36 | IBOutlet NSButton *scriptSelectButton; |
---|
37 | IBOutlet NSTextField *timeSummary; |
---|
38 | IBOutlet NSButton *setButton; |
---|
39 | NSString *status; |
---|
40 | NSTimer *updateTimer; |
---|
41 | PSAlarm *alarm; |
---|
42 | BOOL isInterval; |
---|
43 | } |
---|
44 | |
---|
45 | - (IBAction)update:(id)sender; |
---|
46 | - (IBAction)dateCompleted:(NSPopUpButton *)sender; |
---|
47 | - (IBAction)inAtChanged:(id)sender; |
---|
48 | - (IBAction)playSoundChanged:(id)sender; |
---|
49 | - (IBAction)doScriptChanged:(id)sender; |
---|
50 | - (IBAction)doSpeakChanged:(id)sender; |
---|
51 | - (IBAction)setAlarm:(NSButton *)sender; |
---|
52 | |
---|
53 | - (IBAction)silence:(id)sender; |
---|
54 | |
---|
55 | @end |
---|