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

  1. #ifndef _IMMPLYHD_
  2.    #define _IMMPLYHD_
  3. /*******************************************************************************
  4. * FILE NAME:  immplyhd.hpp                                                     *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IMMPlayerPanelHandler                                                    *
  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 <icmdhdr.hpp>
  19.  
  20. class IMMPlayerPanel;
  21.  
  22. #pragma pack(4)
  23.  
  24.  
  25. class IMMPlayerPanelHandler : public ICommandHandler {
  26. typedef ICommandHandler
  27.   Inherited;
  28. public:
  29. /*-------------------------- Constructors ------------------------------------*/
  30.   IMMPlayerPanelHandler  ();
  31. virtual
  32.   ~IMMPlayerPanelHandler ();
  33.  
  34. protected:
  35. /*---------------------------- Event Dispatching -----------------------------*/
  36. virtual Boolean
  37.   command (ICommandEvent& event);
  38.  
  39. /*----------------------------- Event Processing -----------------------------*/
  40. virtual Boolean
  41.   play               (const IMMPlayerPanel& panel),
  42.   stop               (const IMMPlayerPanel& panel),
  43.   pause              (const IMMPlayerPanel& panel),
  44.   fastForward        (const IMMPlayerPanel& panel),
  45.   rewind             (const IMMPlayerPanel& panel),
  46.   stepForward        (const IMMPlayerPanel& panel),
  47.   stepBackward       (const IMMPlayerPanel& panel);
  48.  
  49. }; // IMMPlayerPanelHandler
  50.  
  51.  
  52. #pragma pack()
  53.  
  54. #endif /* _IMMPLYHD_ */
  55.