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

  1. #ifndef _IMMSEQU_
  2.    #define _IMMSEQU_
  3. /*******************************************************************************
  4. * FILE NAME:  immsequ.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IMMSequencer                                                             *
  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 <immfilem.hpp>
  19. #include <istring.hpp>
  20.  
  21. class IMMDeviceSettings;
  22.  
  23. #pragma pack(4)
  24.  
  25.  
  26. class IMMSequencer : public IMMFileMedia {
  27. typedef IMMFileMedia
  28.   Inherited;
  29. public:
  30. /*----------------------------- Constructors ---------------------------------*/
  31.   IMMSequencer  ( Boolean openNow = true,
  32.                   unsigned long instance = 0,
  33.                   Boolean openShareable = true );
  34. virtual
  35.   ~IMMSequencer ();
  36.  
  37. /*----------------------------- Audio Overrides -----------------------------*/
  38. virtual IMMSequencer
  39.   &setVolume   (unsigned long volume,
  40.                 AudioChannel channel = all,
  41.                 const IMMMillisecondTime& over = IMMMillisecondTime(),
  42.                 CallType call = wait);
  43. virtual unsigned long
  44.   volume       (AudioChannel channel = left,
  45.                 CallType call = wait) const;
  46. virtual IMMSequencer
  47.   &resume      (Boolean resume = true, CallType call = wait);
  48.  
  49. protected:
  50. /*----------------------------- Constructors ---------------------------------*/
  51.   IMMSequencer(unsigned long deviceIdentifier,
  52.                const IString& newAlias = IString());
  53.  
  54. /*-------------------------------- Implementation ----------------------------*/
  55. virtual Boolean
  56.   isOpenStringValid(const IString& deviceName) const;
  57.  
  58. virtual IMMSequencer
  59.   &saveDeviceSettings     (),
  60.   &restoreDeviceSettings  (Boolean newRecordMode = false);
  61.  
  62. private:
  63. /*--------------------------------- Private ----------------------------------*/
  64.  
  65. /*--------------------------------- Hidden Functions--------------------------*/
  66.   IMMSequencer          ( const IMMSequencer& device );
  67. IMMSequencer
  68.  &operator=             ( const IMMSequencer& device );
  69.  
  70. IMMDeviceSettings
  71.   *fDeviceSettings ;
  72.  
  73. }; // IMMSequencer
  74.  
  75.  
  76. #pragma pack()
  77.  
  78. #endif /* _IMMSEQU_ */
  79.