source: releases/Pester/1.1b5/Source/PSCalendarController.h@ 511

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

Pester 1.1b3

File size: 878 bytes
Line 
1//
2// PSCalendarController.h
3// Pester
4//
5// Created by Nicholas Riley on Fri Feb 14 2003.
6// Copyright (c) 2003 Nicholas Riley. All rights reserved.
7//
8
9#import <AppKit/AppKit.h>
10
11@class OACalendarView;
12
13@interface PSCalendarController : NSWindowController {
14 IBOutlet OACalendarView *calendarView;
15 IBOutlet NSButton *okButton;
16 id delegate;
17}
18
19+ (PSCalendarController *)controllerWithDate:(NSCalendarDate *)aDate delegate:(id)aDelegate;
20
21- (id)initWithDate:(NSCalendarDate *)aDate delegate:(id)aDelegate;
22
23- (IBAction)close:(NSButton *)sender;
24- (IBAction)cancel:(NSButton *)sender;
25- (IBAction)today:(NSButton *)sender;
26
27@end
28
29@interface NSObject (PSCalendarControllerDelegate)
30
31- (void)calendarController:(PSCalendarController *)controller didSetDate:(NSCalendarDate *)date;
32- (NSView *)calendarControllerLaunchingView:(PSCalendarController *)controller;
33
34@end
Note: See TracBrowser for help on using the repository browser.