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

  1. #ifndef _ICLIPHDR_
  2. #define _ICLIPHDR_
  3. /*******************************************************************************
  4. * FILE NAME: icliphdr.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IClipboardHandler                                                        *
  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 <ievent.hpp>
  20. #include <iclipbrd.hpp>
  21.  
  22. #pragma pack(4)
  23.  
  24.  
  25. class IClipboardHandler : public IHandler {
  26. typedef IHandler
  27.   Inherited;
  28. public:
  29. /*------------------------------- Constructors -------------------------------*/
  30.   IClipboardHandler ( );
  31. virtual
  32.  ~IClipboardHandler ( );
  33.  
  34. protected:
  35. /*---------------------------- Event Dispatching -----------------------------*/
  36. virtual Boolean
  37.   dispatchHandlerEvent ( IEvent& event );
  38.  
  39. /*----------------------------- Event Processing -----------------------------*/
  40. virtual Boolean
  41.   clipboardEmptied ( IEvent&         event ) = 0,
  42.   renderFormat     ( IEvent&         event,
  43.                      const IString&  format ) = 0,
  44.   renderAllFormats ( IEvent&         event ) = 0;
  45.  
  46. }; // IClipboardHandler
  47.  
  48.  
  49. #pragma pack()
  50.  
  51. #endif /* _ICLIPHDR_ */
  52.