home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / visbuild / calculat / cppwv13 / icalcmc.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-16  |  2.5 KB  |  51 lines

  1. #ifndef _ICALCMC_
  2. #define _ICALCMC_
  3. /******************************************************************************
  4. * .FILE:        icalcmc.hpp                                                   *
  5. *                                                                             *
  6. * .DESCRIPTION: Header file for the class, ICalcMultiplicationChip            *
  7. *                                                                             *
  8. * .CLASSES:     ICalcMultiplicationChip                                       *
  9. *                                                                             *
  10. * .COPYRIGHT:                                                                 *
  11. *    Licensed Material - Program-Property of IBM                              *
  12. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  13. *                                                                             *
  14. * .DISCLAIMER:                                                                *
  15. *   The following [enclosed] code is sample code created by IBM               *
  16. *   Corporation.  This sample code is not part of any standard IBM product    *
  17. *   and is provided to you solely for the purpose of assisting you in the     *
  18. *   development of your applications.  The code is provided 'AS IS',          *
  19. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  20. *   arising out of your use of the sample code, even if they have been        *
  21. *   advised of the possibility of such damages.                               *
  22. *                                                                             *
  23. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  24. *                                                                             *
  25. ******************************************************************************/
  26.  
  27. #include "ivbsamps.h"
  28. #include "icalcop.hpp"
  29.  
  30. //**************************************************************************
  31. // Class:   ICalcMultiplicationChip
  32. //
  33. // Purpose: Describes ICalcMultiplicationChip
  34. //   Defines the calculator multiplication chip.
  35. //************************************************************************** */
  36.  
  37. class IVBSAMP_IMPORT ICalcMultiplicationChip : public ICalcOperator
  38. {
  39. public:
  40.            ICalcMultiplicationChip          ();
  41.   virtual  ~ICalcMultiplicationChip ();
  42.  
  43. //Implementor Method Functions
  44.  
  45. virtual double
  46.   evaluate (double operand1, double operand2);
  47.  
  48. };
  49.  
  50. #endif
  51.