Rev | Line | |
---|
[21] | 1 | //
|
---|
| 2 | // PSAlarmNotifierController.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 |
|
---|
[53] | 11 | @class NJRIntervalField;
|
---|
[26] | 12 | @class PSAlarm;
|
---|
[21] | 13 |
|
---|
| 14 | @interface PSAlarmNotifierController : NSWindowController {
|
---|
| 15 | IBOutlet NSTextField *messageField;
|
---|
| 16 | IBOutlet NSTextField *dateField;
|
---|
[53] | 17 | IBOutlet NSTextField *intervalField;
|
---|
| 18 | IBOutlet NSTextField *nextDateField;
|
---|
| 19 | IBOutlet NJRIntervalField *snoozeIntervalField;
|
---|
| 20 | IBOutlet NSButton *okButton;
|
---|
| 21 | IBOutlet NSButton *snoozeButton;
|
---|
| 22 | NSTimer *updateTimer;
|
---|
| 23 | PSAlarm *alarm;
|
---|
| 24 | BOOL canSnooze;
|
---|
[102] | 25 | NSTimeInterval snoozeInterval;
|
---|
[21] | 26 | }
|
---|
| 27 |
|
---|
[53] | 28 | - (id)initWithAlarm:(PSAlarm *)anAlarm;
|
---|
[26] | 29 |
|
---|
[102] | 30 | - (NSTimeInterval)snoozeInterval;
|
---|
| 31 | - (BOOL)setSnoozeInterval:(NSTimeInterval)interval;
|
---|
| 32 | - (void)snoozeUntilDate:(NSCalendarDate *)date;
|
---|
| 33 |
|
---|
| 34 | - (IBAction)snoozeIntervalUnitsChanged:(NSPopUpButton *)sender;
|
---|
[53] | 35 | - (IBAction)close:(id)sender;
|
---|
| 36 | - (IBAction)snooze:(NSButton *)sender;
|
---|
[102] | 37 | - (IBAction)snoozeUntil:(NSMenuItem *)sender;
|
---|
[53] | 38 | - (IBAction)stopRepeating:(NSButton *)sender;
|
---|
[21] | 39 |
|
---|
| 40 | @end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.