source: trunk/Cocoa/Pester/Source/PSAlarmSetController.h@ 580

Last change on this file since 580 was 579, checked in by Nicholas Riley, 15 years ago

Replace use of private/deprecated NSDisclosureButtonCell; a public alternative has been available since 10.3. (Oops.)

Also remove incorrect NSMovieView superclass in nib because 10.6 IB refuses to open the nib with it present.

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