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

  1. #ifndef _IMMRECRD_
  2.    #define _IMMRECRD_
  3. /*******************************************************************************
  4. * FILE NAME:  immrecrd.hpp                                                     *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IMMRecordable                                                            *
  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 <immtime.hpp>
  20. #include <istring.hpp>
  21.  
  22. class IMMDeviceSettings;
  23.  
  24. #pragma pack(4)
  25.  
  26.  
  27. class IMMRecordable : public IMMFileMedia {
  28. typedef IMMFileMedia
  29.   Inherited;
  30. public:
  31. /*----------------------------- Constructors ---------------------------------*/
  32. virtual
  33.   ~IMMRecordable();
  34.  
  35. /*-------------------------------- Editing -----------------------------------*/
  36. virtual IMMRecordable
  37.   ©            (const IMMTime& from = IMMTime(),
  38.                     const IMMTime& to   = IMMTime(),
  39.                     CallType call = wait) const,
  40.   &cueForRecording (CallType call = nowait),
  41.   &cut             (const IMMTime& from = IMMTime(),
  42.                     const IMMTime& to   = IMMTime(),
  43.                     CallType call = wait),
  44.   &deleteSelection (const IMMTime& from = IMMTime(),
  45.                     const IMMTime& to   = IMMTime(),
  46.                     CallType call = wait),
  47.   &paste           (const IMMTime& from = IMMTime(),
  48.                     const IMMTime& to   = IMMTime(),
  49.                     Boolean convert = true,
  50.                     CallType call = wait),
  51.   &record          (Boolean insert = true,
  52.                     const IMMTime& begin = IMMTime(),
  53.                     const IMMTime& end   = IMMTime(),
  54.                     Boolean resumeIfPaused = true,
  55.                     CallType call = nowait),
  56.   &save            (CallType call = nowait),
  57.   &saveAs          (const IString& filename, CallType call = nowait);
  58.  
  59.  
  60. protected:
  61. /*----------------------------- Constructors ---------------------------------*/
  62.   IMMRecordable ( const IString& deviceName,
  63.                   Boolean openNow,
  64.                   unsigned long instance,
  65.                   Boolean openShareable);
  66.  
  67.   IMMRecordable ( unsigned long deviceIdentifier,
  68.                   const IString& newAlias = IString());
  69.  
  70. /*-------------------------------- Implementation ----------------------------*/
  71. virtual IMMRecordable
  72.   &saveDeviceSettings     (),
  73.   &restoreDeviceSettings  (Boolean newRecordMode = false);
  74.  
  75. private:
  76. /*--------------------------------- Private ----------------------------------*/
  77.  
  78. /*--------------------------------- Hidden Functions--------------------------*/
  79.   IMMRecordable         ( const IMMRecordable& device );
  80. IMMRecordable
  81.  &operator=             ( const IMMRecordable& device );
  82.  
  83. IMMDeviceSettings
  84.   *fDeviceSettings ;
  85.  
  86. }; // IMMRecordable
  87.  
  88.  
  89. #pragma pack()
  90.  
  91. #endif /* _IMMRECRD_ */
  92.