[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;
|
---|
| 13 | @class NJRSoundPopUpButton;
|
---|
| 14 | @class NJRVoicePopUpButton;
|
---|
| 15 |
|
---|
[21] | 16 | @interface PSAlarmSetController : NSWindowController {
|
---|
| 17 | IBOutlet NSTextField *messageField;
|
---|
| 18 | IBOutlet NSMatrix *inAtMatrix;
|
---|
| 19 | IBOutlet NSTextField *timeInterval;
|
---|
| 20 | IBOutlet NSPopUpButton *timeIntervalUnits;
|
---|
[34] | 21 | IBOutlet NSButton *timeIntervalRepeats;
|
---|
[21] | 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
|
---|
[34] | 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;
|
---|
[21] | 37 | IBOutlet NSTextField *timeSummary;
|
---|
| 38 | IBOutlet NSButton *setButton;
|
---|
[26] | 39 | NSString *status;
|
---|
| 40 | NSTimer *updateTimer;
|
---|
[24] | 41 | PSAlarm *alarm;
|
---|
[26] | 42 | BOOL isInterval;
|
---|
[21] | 43 | }
|
---|
| 44 |
|
---|
| 45 | - (IBAction)update:(id)sender;
|
---|
| 46 | - (IBAction)dateCompleted:(NSPopUpButton *)sender;
|
---|
| 47 | - (IBAction)inAtChanged:(id)sender;
|
---|
[34] | 48 | - (IBAction)playSoundChanged:(id)sender;
|
---|
| 49 | - (IBAction)doScriptChanged:(id)sender;
|
---|
| 50 | - (IBAction)doSpeakChanged:(id)sender;
|
---|
[21] | 51 | - (IBAction)setAlarm:(NSButton *)sender;
|
---|
| 52 |
|
---|
[34] | 53 | - (IBAction)silence:(id)sender;
|
---|
| 54 |
|
---|
[21] | 55 | @end
|
---|