2002-04-14 14:02:56 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "NovaWindowController.h"
|
|
|
|
|
2002-04-29 00:05:34 +00:00
|
|
|
#define startField [activationForm cellAtIndex:0]
|
|
|
|
#define endField [activationForm cellAtIndex:1]
|
|
|
|
|
2002-04-14 14:02:56 +00:00
|
|
|
@interface CronWindowController : NovaWindowController
|
|
|
|
{
|
2002-04-29 00:05:34 +00:00
|
|
|
IBOutlet NSTextField *startDayField;
|
|
|
|
IBOutlet NSTextField *startMonthField;
|
|
|
|
IBOutlet NSTextField *startYearField;
|
|
|
|
IBOutlet NSStepper *startDayStepper;
|
|
|
|
IBOutlet NSStepper *startMonthStepper;
|
|
|
|
IBOutlet NSStepper *startYearStepper;
|
|
|
|
|
|
|
|
IBOutlet NSTextField *endDayField;
|
|
|
|
IBOutlet NSTextField *endMonthField;
|
|
|
|
IBOutlet NSTextField *endYearField;
|
|
|
|
IBOutlet NSStepper *endDayStepper;
|
|
|
|
IBOutlet NSStepper *endMonthStepper;
|
|
|
|
IBOutlet NSStepper *endYearStepper;
|
|
|
|
|
|
|
|
IBOutlet NSForm *activationForm;
|
|
|
|
|
|
|
|
// data values
|
|
|
|
NSCalendarDate *startDate;
|
|
|
|
NSCalendarDate *endDate;
|
2002-04-14 14:02:56 +00:00
|
|
|
}
|
2002-04-29 00:05:34 +00:00
|
|
|
|
|
|
|
- (void)update;
|
|
|
|
- (IBAction)editStart:(id)sender;
|
|
|
|
- (IBAction)stepStart:(id)sender;
|
|
|
|
- (IBAction)editEnd:(id)sender;
|
|
|
|
- (IBAction)stepEnd:(id)sender;
|
|
|
|
- (IBAction)editStartField:(id)sender;
|
|
|
|
- (IBAction)editEndField:(id)sender;
|
|
|
|
|
2002-04-14 14:02:56 +00:00
|
|
|
@end
|