home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / ispinhdr.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.1 KB  |  52 lines

  1. #ifndef _ISPINHDR_
  2.   #define _ISPINHDR_
  3. /*******************************************************************************
  4. * FILE NAME: ispinhdr.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     ISpinHandler                                                             *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *******************************************************************************/
  18. #include <ihandler.hpp>
  19. #include <ictlevt.hpp>
  20.  
  21. #pragma pack(4)
  22.  
  23. class ISpinHandler : public IHandler {
  24. typedef IHandler
  25.   Inherited;
  26.  
  27. public:
  28. /*-------------------------- Constructors -----------------------------------*/
  29. virtual
  30.  ~ISpinHandler ( );
  31.  
  32.  
  33. protected:
  34. /*------------------------- Protected Constructors --------------------------*/
  35.   ISpinHandler ( );
  36.  
  37. /*---------------------------- Event Dispatching ----------------------------*/
  38. virtual Boolean
  39.   dispatchHandlerEvent ( IEvent& event );
  40.  
  41. /*----------------------------- Event Processing ----------------------------*/
  42. virtual Boolean
  43.   arrowUp              ( IControlEvent& event ),
  44.   arrowDown            ( IControlEvent& event ),
  45.   spinEnded            ( IControlEvent& event );
  46. }; // ISpinHandler
  47.  
  48.  
  49. #pragma pack()
  50.  
  51. #endif /* _ISPINHDR_ */
  52.