1
2
3
4
5
6
7
8
9
10
11
12 #import <objc/Object.h>
13
14 @interface SimpleCalc:Object
15 {
16
17 id display;
18 id enterKey;
19 id minusKey;
20 id infoManager;
21 id myNXStringTable;
22
23
24 class CalcEngine *cplus_object;
25
26
27 SEL previousAction;
28 }
29
30
31
32 - numberKeys:sender;
33 - decimalKey:sender;
34 - operationKeys:sender;
35 - equalsKey:sender;
36 - clearKey:sender;
37 - clearAllKey:sender;
38 - infoPanel:sender;
39 - helpPanel:sender;
40
41
42
43 - windowWillClose:sender;
44 - appDidInit:sender;
45
46 - registerAction:(SEL)action;
47 - appendToDisplay:(const char *)theString;
48
49 @end