[21] | 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>
|
---|
[24] | 10 | #import "PSAlarm.h"
|
---|
[21] | 11 |
|
---|
[34] | 12 | @class NJRFSObjectSelector;
|
---|
[53] | 13 | @class NJRIntervalField;
|
---|
[39] | 14 | @class NJRQTMediaPopUpButton;
|
---|
[34] | 15 | @class NJRVoicePopUpButton;
|
---|
| 16 |
|
---|
[21] | 17 | @interface PSAlarmSetController : NSWindowController {
|
---|
| 18 | IBOutlet NSTextField *messageField;
|
---|
| 19 | IBOutlet NSMatrix *inAtMatrix;
|
---|
[53] | 20 | IBOutlet NJRIntervalField *timeInterval;
|
---|
[21] | 21 | IBOutlet NSPopUpButton *timeIntervalUnits;
|
---|
[34] | 22 | IBOutlet NSButton *timeIntervalRepeats;
|
---|
[21] | 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
|
---|
[53] | 26 | IBOutlet NSButtonCell *editAlert;
|
---|
| 27 | IBOutlet NSTextField *alertView;
|
---|
| 28 | IBOutlet NSTabView *alertTabs;
|
---|
[34] | 29 | IBOutlet NSButtonCell *displayMessage;
|
---|
| 30 | IBOutlet NSButton *bounceDockIcon;
|
---|
| 31 | IBOutlet NSButtonCell *playSound;
|
---|
[39] | 32 | IBOutlet NJRQTMediaPopUpButton *sound;
|
---|
[34] | 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;
|
---|
[53] | 41 | IBOutlet NSButtonCell *wakeUp;
|
---|
[21] | 42 | IBOutlet NSTextField *timeSummary;
|
---|
[53] | 43 | IBOutlet NSButton *cancelButton;
|
---|
[21] | 44 | IBOutlet NSButton *setButton;
|
---|
[26] | 45 | NSString *status;
|
---|
| 46 | NSTimer *updateTimer;
|
---|
[24] | 47 | PSAlarm *alarm;
|
---|
[26] | 48 | BOOL isInterval;
|
---|
[21] | 49 | }
|
---|
| 50 |
|
---|
| 51 | - (IBAction)update:(id)sender;
|
---|
| 52 | - (IBAction)dateCompleted:(NSPopUpButton *)sender;
|
---|
| 53 | - (IBAction)inAtChanged:(id)sender;
|
---|
[53] | 54 | - (IBAction)editAlertChanged:(id)sender;
|
---|
[34] | 55 | - (IBAction)playSoundChanged:(id)sender;
|
---|
| 56 | - (IBAction)doScriptChanged:(id)sender;
|
---|
| 57 | - (IBAction)doSpeakChanged:(id)sender;
|
---|
[21] | 58 | - (IBAction)setAlarm:(NSButton *)sender;
|
---|
[41] | 59 | - (IBAction)setSoundRepetitionCount:(id)sender;
|
---|
[21] | 60 |
|
---|
[34] | 61 | - (IBAction)silence:(id)sender;
|
---|
| 62 |
|
---|
[21] | 63 | @end
|
---|