// // PSAlarmSetController.h // Pester // // Created by Nicholas Riley on Tue Oct 08 2002. // Copyright (c) 2002 Nicholas Riley. All rights reserved. // #import #import "PSAlarm.h" @class NJRFSObjectSelector; @class NJRIntervalField; @class NJRQTMediaPopUpButton; @class NJRVoicePopUpButton; @interface PSAlarmSetController : NSWindowController { IBOutlet NSTextField *messageField; IBOutlet NSMatrix *inAtMatrix; IBOutlet NJRIntervalField *timeInterval; IBOutlet NSPopUpButton *timeIntervalUnits; IBOutlet NSButton *timeIntervalRepeats; IBOutlet NSTextField *timeOfDay; IBOutlet NSTextField *timeDate; IBOutlet NSPopUpButton *timeDateCompletions; // XXX should go away when bug preventing both formatters and popup menus from existing is fixed IBOutlet NSButton *timeCalendarButton; IBOutlet NSButtonCell *editAlert; IBOutlet NSTextField *alertView; IBOutlet NSTabView *alertTabs; IBOutlet NSButtonCell *displayMessage; IBOutlet NSButton *bounceDockIcon; IBOutlet NSButtonCell *playSound; IBOutlet NJRQTMediaPopUpButton *sound; IBOutlet NSTextField *soundRepetitions; IBOutlet NSStepper *soundRepetitionStepper; IBOutlet NSTextField *soundRepetitionsLabel; IBOutlet NSButtonCell *doScript; IBOutlet NJRFSObjectSelector *script; IBOutlet NSButtonCell *doSpeak; IBOutlet NJRVoicePopUpButton *voice; IBOutlet NSButton *scriptSelectButton; IBOutlet NSButtonCell *wakeUp; IBOutlet NSTextField *timeSummary; IBOutlet NSButton *cancelButton; IBOutlet NSButton *setButton; NSString *status; NSTimer *updateTimer; PSAlarm *alarm; BOOL isInterval; } - (IBAction)update:(id)sender; - (IBAction)dateCompleted:(NSPopUpButton *)sender; - (IBAction)showCalendar:(NSButton *)sender; - (IBAction)inAtChanged:(id)sender; - (IBAction)toggleAlertEditor:(id)sender; - (IBAction)editAlertChanged:(id)sender; - (IBAction)playSoundChanged:(id)sender; - (IBAction)doScriptChanged:(id)sender; - (IBAction)doSpeakChanged:(id)sender; - (IBAction)setAlarm:(NSButton *)sender; - (IBAction)setSoundRepetitionCount:(id)sender; - (IBAction)silence:(id)sender; @end