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

  1. #ifndef _ISIZEHDR_
  2. #define _ISIZEHDR_
  3. /*******************************************************************************
  4. * FILE NAME: isizehdr.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IResizeHandler                                                           *
  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 <isizeevt.hpp>
  20.  
  21. #pragma pack(4)
  22.  
  23. class IResizeHandler : public IHandler {
  24. typedef IHandler
  25.   Inherited;
  26. public:
  27. /*------------------------------- Constructors -------------------------------*/
  28. virtual
  29.  ~IResizeHandler ( );
  30.  
  31. protected:
  32. /*------------------------------- Constructors -------------------------------*/
  33.   IResizeHandler ( );
  34.  
  35. /*---------------------------- Event Dispatching -----------------------------*/
  36. virtual Boolean
  37.   dispatchHandlerEvent ( IEvent& event );
  38.  
  39. /*----------------------------- Event Processing -----------------------------*/
  40. virtual Boolean
  41.   windowResize ( IResizeEvent& event ) = 0;
  42. }; // IResizeHandler
  43.  
  44. #pragma pack()
  45.  
  46. #endif /* _ISIZEHDR_ */
  47.