Initial revision
[LeanCalc.git] / Sources / MyDocument.h
1 //
2 //  MyDocument.h
3 //  LeanCalc
4 //
5 //  Created by Marc Liyanage on 31.01.05.
6 //  Copyright __MyCompanyName__ 2005 . All rights reserved.
7 //
8
9
10 #import <Cocoa/Cocoa.h>
11 #import "Calculation.h"
12 #import "AppDelegate.h"
13
14 @interface MyDocument : NSDocument
15 {
16 //      NSString *inputString, *resultValue;
17         NSTextField *expressionField;
18         NSMutableArray *calculations;
19         NSArrayController *arrayController;
20         NSWindow *window;
21 }
22
23
24
25 - (IBAction)commit:(id)sender;
26 - (void)addItem;
27 - (BOOL)lastItemIsSelected;
28 - (void)insertPrevious:(id)sender;
29 //- (void)insertPrevious;
30
31 /*
32 - (BOOL)setupHistoryMenu:(NSMenu *)submenu;
33 - (void)updateHistoryMenu;
34 */
35 @end