home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / calc.h < prev    next >
Encoding:
Text File  |  1995-10-16  |  295 b   |  16 lines

  1. #import "objc/Object.h"
  2.  
  3. @interface Calc:Object
  4. {
  5.     int pendingOperation;
  6.     double xRegister;
  7. }
  8.  
  9. - init;
  10. - (void)clearAll;
  11. - (double)performOperationWith:(double)value;
  12. - (double)setOperation:(int)operator forValue:(double)value;
  13. - (void)changePendingOperation:(int)operator;
  14.  
  15. @end
  16.