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

  1. #ifndef _ICALCDC_
  2. #define _ICALCDC_
  3. //****************************************************************************
  4. // ICalcDivisionChip Class - C++ Header File (icalcdc.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. //**************************************************************************
  31. // Class:   ICalcDivisionChip
  32. //
  33. // Purpose: Describes ICalcDivisionChip
  34. //   Defines the calculator division chip
  35. //************************************************************************** */
  36.  
  37. class _Export ICalcDivisionChip : public ICalcOperator
  38. {
  39. public:
  40.            ICalcDivisionChip          ();
  41.   virtual  ~ICalcDivisionChip ();
  42.  
  43. //Implementor Method Functions
  44.  
  45. virtual double
  46.   evaluate (double operand1, double operand2);
  47.  
  48. };
  49.  
  50. #endif
  51.