home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / VIRTINTF.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  2KB  |  68 lines

  1. //----------------------------------------------------------------------------
  2. // VirtIntf.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: VirtIntf.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef VirtIntfHPP
  6. #define VirtIntfHPP
  7. //----------------------------------------------------------------------------
  8. #include <System.hpp>
  9. #pragma warn -par
  10. #pragma warn -hid 
  11. #pragma warn -inl
  12.  
  13. namespace Virtintf
  14. {
  15. //-- type declarations -------------------------------------------------------
  16. class __declspec(delphiclass) TInterface;
  17. class __declspec(pascalimplementation) TInterface : public System::TObject
  18. {
  19.     typedef System::TObject inherited;
  20.     
  21. private:
  22.     long FRefCount;
  23.     
  24. public:
  25.     __fastcall TInterface(void);
  26.     HIDESBASE void __fastcall Free(void);
  27.     virtual long __stdcall AddRef(void);
  28.     virtual long __stdcall Release(void);
  29.     virtual int __stdcall GetVersion(void);
  30. public:
  31.     /* TObject.Destroy */ __fastcall virtual ~TInterface(void) { }
  32.     
  33. };
  34.  
  35. class __declspec(delphiclass) TIStream;
  36. class __declspec(pascalimplementation) TIStream : public TInterface
  37. {
  38.     typedef TInterface inherited;
  39.     
  40. public:
  41.     virtual long __stdcall Read(void *Buffer, long Count) = 0;
  42.     virtual long __stdcall Write(const void *Buffer, long Count) = 0;
  43.     virtual long __stdcall Seek(long Offset, Word Origin) = 0;
  44.     virtual long __stdcall GetModifyTime(void) = 0;
  45.     virtual void __stdcall SetModifyTime(long Time) = 0;
  46. public:
  47.     /* TInterface.Create */ __fastcall TIStream(void) : Virtintf::TInterface() { }
  48.     
  49. public:
  50.     /* TObject.Destroy */ __fastcall virtual ~TIStream(void) { }
  51.     
  52. };
  53.  
  54. //-- var, const, procedure ---------------------------------------------------
  55. extern System::AnsiString __fastcall ReleaseException(void);
  56.  
  57. }    /* namespace Virtintf */
  58.  
  59. #pragma warn .par
  60. #pragma warn .hid 
  61. #pragma warn .inl
  62.  
  63. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  64. using namespace Virtintf;
  65. #endif
  66. //-- end unit ----------------------------------------------------------------
  67. #endif    // VirtIntf
  68.