home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / CALCULAT / CPPOV13 / ICALCAC.HPP < prev    next >
Text File  |  1995-04-14  |  2KB  |  50 lines

  1. #ifndef _ICALCAC_
  2. #define _ICALCAC_
  3. //****************************************************************************
  4. // ICalcAdditionChip Class - C++ Header File (icalcac.hpp)                   *
  5. //                                                                           *
  6. // COPYRIGHT: Copyright (C) International Business Machines Corp., 1994,1995 *
  7. //                                                                           *
  8. // DISCLAIMER OF WARRANTIES:                                                 *
  9. //   The following [enclosed] code is sample code created by IBM             *
  10. //   Corporation.  This sample code is not part of any standard IBM product  *
  11. //   and is provided to you solely for the purpose of assisting you in the   *
  12. //   development of your applications.  The code is provided "AS IS",        *
  13. //   without warranty of any kind.  IBM shall not be liable for any damages  *
  14. //   arising out of your use of the sample code, even if they have been      *
  15. //   advised of the possibility of such damages.                             *
  16. //****************************************************************************
  17. //NOTE: WE RECOMMEND USING A FIXED-SPACE FONT TO LOOK AT THE SOURCE.
  18. //
  19. // VERSION 2
  20. //
  21. // Changes:
  22. //   9/23/94 - Put in changes to get results of math computations via a return
  23. //             value on a connection.  This also allows for connecting in some
  24. //             exception handling.
  25. //****************************************************************************
  26.  
  27. #include "icalcop.hpp"
  28.  
  29. //**************************************************************************
  30. // Class:   ICalcAdditionChip
  31. //
  32. // Purpose: Describes ICalcAdditionChip
  33. //   Defines the calculator addition chip.
  34. //************************************************************************** */
  35.  
  36. class _Export ICalcAdditionChip : public ICalcOperator
  37. {
  38. public:
  39.            ICalcAdditionChip          ();
  40.   virtual  ~ICalcAdditionChip ();
  41.  
  42. //Implementor Method Functions
  43.  
  44. virtual double
  45.   evaluate (double operand1, double operand2);
  46.  
  47. };
  48.  
  49. #endif
  50.