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

  1. #ifndef _IMMPLYPN_
  2.    #define _IMMPLYPN_
  3. /*******************************************************************************
  4. * FILE NAME: immplypn.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IMMPlayerPanel                                                           *
  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 <imcelcv.hpp>
  19. #include <immplayd.hpp>
  20.  
  21. class IMMPlayerPanelData;
  22. class IMMPlayerPanelHandler;
  23. class IAnimatedButton ;
  24.  
  25. #pragma pack(4)
  26.  
  27.  
  28. class IMMPlayerPanel : public IMultiCellCanvas {
  29. typedef IMultiCellCanvas
  30.   Inherited;
  31. public:
  32. /*------------------------- Constructors -------------------------------------*/
  33.   IMMPlayerPanel  ( unsigned long         identifier,
  34.                     IWindow*              parent,
  35.                     IWindow*              owner,
  36.                     unsigned long         deviceType = IMMDevice::other,
  37.                     const IRectangle&     initial = IRectangle(),
  38.                     const IMultiCellCanvas::Style& style =
  39.                                     IMultiCellCanvas::defaultStyle() );
  40.  
  41. virtual
  42.   ~IMMPlayerPanel ();
  43.  
  44. /*-------------------------------- Device ------------------------------------*/
  45. IMMPlayableDevice*
  46.   playableDevice     () const;
  47. IMMPlayerPanel
  48.   &setPlayableDevice (IMMPlayableDevice* device);
  49. unsigned long
  50.   deviceType         () const;
  51.  
  52. /*-------------------------------- Buttons -----------------------------------*/
  53. IAnimatedButton
  54.   *rewindButton       () const,
  55.   *fastForwardButton  () const,
  56.   *pauseButton        () const,
  57.   *stopButton         () const,
  58.   *playButton         () const,
  59.   *stepForwardButton  () const,
  60.   *stepBackwardButton () const;
  61.  
  62. private:
  63. /*--------------------------------- Private ----------------------------------*/
  64.  
  65. /*--------------------------------- Hidden Functions--------------------------*/
  66.   IMMPlayerPanel        ( const IMMPlayerPanel& panel );
  67. IMMPlayerPanel
  68.  &operator=             ( const IMMPlayerPanel& panel );
  69.  
  70. IMMPlayerPanelData
  71.   *fPanelData;
  72. }; // IMMPlayerPanel
  73.  
  74.  
  75. #pragma pack()
  76.  
  77. #endif /* _IMMPLYPN_ */
  78.