source: trunk/Cocoa/Pester/Source/PSAlarmNotifierController.h @ 516

Last change on this file since 516 was 102, checked in by Nicholas Riley, 18 years ago

Pester 1.1b3

File size: 1.1 KB
Line 
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
11@class NJRIntervalField;
12@class PSAlarm;
13
14@interface PSAlarmNotifierController : NSWindowController {
15    IBOutlet NSTextField *messageField;
16    IBOutlet NSTextField *dateField;
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;
25    NSTimeInterval snoozeInterval;
26}
27
28- (id)initWithAlarm:(PSAlarm *)anAlarm;
29
30- (NSTimeInterval)snoozeInterval;
31- (BOOL)setSnoozeInterval:(NSTimeInterval)interval;
32- (void)snoozeUntilDate:(NSCalendarDate *)date;
33
34- (IBAction)snoozeIntervalUnitsChanged:(NSPopUpButton *)sender;
35- (IBAction)close:(id)sender;
36- (IBAction)snooze:(NSButton *)sender;
37- (IBAction)snoozeUntil:(NSMenuItem *)sender;
38- (IBAction)stopRepeating:(NSButton *)sender;
39
40@end
Note: See TracBrowser for help on using the repository browser.