2 // SimpleCalc -- Randy Nelson -- NeXT Developer Training
3 // A general class that serves as a liaison between a calculator interface
4 // and a calculator engine.
6 // You may freely copy, distribute and reuse the code in this example.
7 // NeXT disclaims any warranty of any kind, expressed or implied, as to
8 // its fitness for any particular use.
12 #import <objc/Object.h>
14 @interface SimpleCalc:Object
16 // outlets...the front-end.
23 // C++ object's can be a-part-of Objective-C objects.
24 class CalcEngine *cplus_object;
26 // record each previous user action
34 - operationKeys:sender;
43 - windowWillClose:sender;
46 - registerAction:(SEL)action;
47 - appendToDisplay:(const char *)theString;