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

  1. #ifndef _IMMWAVE_
  2.    #define _IMMWAVE_
  3. /*******************************************************************************
  4. * FILE NAME:  immwav.hpp                                                       *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IMMWaveAudio                                                             *
  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 <immaud.hpp>
  19. #include <istring.hpp>
  20. #include <immabuf.hpp>
  21.  
  22. class IMMDeviceSettings;
  23.  
  24. #pragma pack(4)
  25.  
  26.  
  27. class IMMWaveAudio : public IMMConfigurableAudio {
  28. typedef IMMConfigurableAudio
  29.   Inherited;
  30. public:
  31. /*----------------------------- Constructors ---------------------------------*/
  32.   IMMWaveAudio  ( Boolean openNow = true,
  33.                   unsigned long instance = 0,
  34.                   Boolean openShareable = true );
  35.  
  36. virtual
  37.   ~IMMWaveAudio ();
  38.  
  39. /*-------------------------------- Buffers -----------------------------------*/
  40.  
  41. protected:
  42. /*----------------------------- Constructors ---------------------------------*/
  43.   IMMWaveAudio ( unsigned long deviceIdentifier,
  44.                  const IString& newAlias = IString() );
  45.  
  46. /*-------------------------------- Implementation ----------------------------*/
  47. virtual Boolean
  48.   isOpenStringValid (const IString& deviceName) const;
  49.  
  50. virtual IMMWaveAudio
  51.   &saveDeviceSettings     (),
  52.   &restoreDeviceSettings  (Boolean newRecordMode = false);
  53.  
  54. private:
  55. /*--------------------------------- Private ----------------------------------*/
  56.  
  57. /*--------------------------------- Hidden Functions--------------------------*/
  58.   IMMWaveAudio          ( const IMMWaveAudio& device );
  59. IMMWaveAudio
  60.  &operator=             ( const IMMWaveAudio& device );
  61.  
  62. IMMDeviceSettings
  63.   *fDeviceSettings ;
  64.  
  65. }; //IMMWaveAudio
  66.  
  67.  
  68. #pragma pack()
  69.  
  70. #endif /* _IMMWAVE_ */
  71.