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 NJRIntervalField;
|
---|
14 | @class NJRQTMediaPopUpButton;
|
---|
15 | @class NJRVoicePopUpButton;
|
---|
16 |
|
---|
17 | @interface PSAlarmSetController : NSWindowController {
|
---|
18 | IBOutlet NSTextField *messageField;
|
---|
19 | IBOutlet NSMatrix *inAtMatrix;
|
---|
20 | IBOutlet NJRIntervalField *timeInterval;
|
---|
21 | IBOutlet NSPopUpButton *timeIntervalUnits;
|
---|
22 | IBOutlet NSButton *timeIntervalRepeats;
|
---|
23 | IBOutlet NSTextField *timeOfDay;
|
---|
24 | IBOutlet NSTextField *timeDate;
|
---|
25 | IBOutlet NSPopUpButton *timeDateCompletions; // XXX should go away when bug preventing both formatters and popup menus from existing is fixed
|
---|
26 | IBOutlet NSButtonCell *editAlert;
|
---|
27 | IBOutlet NSTextField *alertView;
|
---|
28 | IBOutlet NSTabView *alertTabs;
|
---|
29 | IBOutlet NSButtonCell *displayMessage;
|
---|
30 | IBOutlet NSButton *bounceDockIcon;
|
---|
31 | IBOutlet NSButtonCell *playSound;
|
---|
32 | IBOutlet NJRQTMediaPopUpButton *sound;
|
---|
33 | IBOutlet NSTextField *soundRepetitions;
|
---|
34 | IBOutlet NSStepper *soundRepetitionStepper;
|
---|
35 | IBOutlet NSTextField *soundRepetitionsLabel;
|
---|
36 | IBOutlet NSButtonCell *doScript;
|
---|
37 | IBOutlet NJRFSObjectSelector *script;
|
---|
38 | IBOutlet NSButtonCell *doSpeak;
|
---|
39 | IBOutlet NJRVoicePopUpButton *voice;
|
---|
40 | IBOutlet NSButton *scriptSelectButton;
|
---|
41 | IBOutlet NSButtonCell *wakeUp;
|
---|
42 | IBOutlet NSTextField *timeSummary;
|
---|
43 | IBOutlet NSButton *cancelButton;
|
---|
44 | IBOutlet NSButton *setButton;
|
---|
45 | NSString *status;
|
---|
46 | NSTimer *updateTimer;
|
---|
47 | PSAlarm *alarm;
|
---|
48 | BOOL isInterval;
|
---|
49 | }
|
---|
50 |
|
---|
51 | - (IBAction)update:(id)sender;
|
---|
52 | - (IBAction)dateCompleted:(NSPopUpButton *)sender;
|
---|
53 | - (IBAction)inAtChanged:(id)sender;
|
---|
54 | - (IBAction)editAlertChanged:(id)sender;
|
---|
55 | - (IBAction)playSoundChanged:(id)sender;
|
---|
56 | - (IBAction)doScriptChanged:(id)sender;
|
---|
57 | - (IBAction)doSpeakChanged:(id)sender;
|
---|
58 | - (IBAction)setAlarm:(NSButton *)sender;
|
---|
59 | - (IBAction)setSoundRepetitionCount:(id)sender;
|
---|
60 |
|
---|
61 | - (IBAction)silence:(id)sender;
|
---|
62 |
|
---|
63 | @end
|
---|