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 <NSUserInterfaceValidations> {
|
---|
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 NSButton *timeCalendarButton;
|
---|
27 | IBOutlet NSButtonCell *editAlert;
|
---|
28 | IBOutlet NSTextField *alertView;
|
---|
29 | IBOutlet NSTabView *alertTabs;
|
---|
30 | IBOutlet NSButtonCell *displayMessage;
|
---|
31 | IBOutlet NSButton *bounceDockIcon;
|
---|
32 | IBOutlet NSButtonCell *playSound;
|
---|
33 | IBOutlet NJRQTMediaPopUpButton *sound;
|
---|
34 | IBOutlet NSTextField *soundRepetitions;
|
---|
35 | IBOutlet NSStepper *soundRepetitionStepper;
|
---|
36 | IBOutlet NSTextField *soundRepetitionsLabel;
|
---|
37 | IBOutlet NSButtonCell *doScript;
|
---|
38 | IBOutlet NJRFSObjectSelector *script;
|
---|
39 | IBOutlet NSButtonCell *doSpeak;
|
---|
40 | IBOutlet NJRVoicePopUpButton *voice;
|
---|
41 | IBOutlet NSButton *scriptSelectButton;
|
---|
42 | IBOutlet NSButtonCell *wakeUp;
|
---|
43 | IBOutlet NSTextField *timeSummary;
|
---|
44 | IBOutlet NSButton *cancelButton;
|
---|
45 | IBOutlet NSButton *setButton;
|
---|
46 | NSString *status;
|
---|
47 | NSTimer *updateTimer;
|
---|
48 | PSAlarm *alarm;
|
---|
49 | BOOL isInterval;
|
---|
50 | }
|
---|
51 |
|
---|
52 | - (IBAction)update:(id)sender;
|
---|
53 | - (IBAction)dateCompleted:(NSPopUpButton *)sender;
|
---|
54 | - (IBAction)showCalendar:(NSButton *)sender;
|
---|
55 | - (IBAction)inAtChanged:(id)sender;
|
---|
56 | - (IBAction)toggleAlertEditor:(id)sender;
|
---|
57 | - (IBAction)editAlertChanged:(id)sender;
|
---|
58 | - (IBAction)playSoundChanged:(id)sender;
|
---|
59 | - (IBAction)doScriptChanged:(id)sender;
|
---|
60 | - (IBAction)doSpeakChanged:(id)sender;
|
---|
61 | - (IBAction)setAlarm:(NSButton *)sender;
|
---|
62 | - (IBAction)setSoundRepetitionCount:(id)sender;
|
---|
63 |
|
---|
64 | - (IBAction)silence:(id)sender;
|
---|
65 |
|
---|
66 | @end
|
---|