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

  1. //----------------------------------------------------------------------------
  2. // FileIntf.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: FileIntf.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef FileIntfHPP
  6. #define FileIntfHPP
  7. //----------------------------------------------------------------------------
  8. #include <VirtIntf.hpp>
  9. #include <SysUtils.hpp>
  10. #include <System.hpp>
  11. #pragma warn -par
  12. #pragma warn -hid 
  13. #pragma warn -inl
  14.  
  15. namespace Fileintf
  16. {
  17. //-- type declarations -------------------------------------------------------
  18. class __declspec(delphiclass) TIVirtualFileSystem;
  19. class __declspec(pascalimplementation) TIVirtualFileSystem : public Virtintf::TInterface
  20. {
  21.     typedef Virtintf::TInterface inherited;
  22.     
  23. public:
  24.     virtual Virtintf::TIStream* __stdcall GetFileStream(const System::AnsiString FileName, int Mode) = 0
  25.         ;
  26.     virtual long __stdcall FileAge(const System::AnsiString FileName) = 0;
  27.     virtual bool __stdcall RenameFile(const System::AnsiString OldName, const System::AnsiString NewName
  28.         ) = 0;
  29.     virtual bool __stdcall IsReadonly(const System::AnsiString FileName) = 0;
  30.     virtual bool __stdcall IsFileBased(void) = 0;
  31.     virtual bool __stdcall DeleteFile(const System::AnsiString FileName) = 0;
  32.     virtual bool __stdcall FileExists(const System::AnsiString FileName) = 0;
  33.     virtual System::AnsiString __stdcall GetTempFileName(const System::AnsiString FileName) = 0;
  34.     virtual System::AnsiString __stdcall GetBackupFileName(const System::AnsiString FileName) = 0;
  35.     virtual System::AnsiString __stdcall GetIDString(void) = 0;
  36. public:
  37.     /* TInterface.Create */ __fastcall TIVirtualFileSystem(void) : Virtintf::TInterface() { }
  38.     
  39. public:
  40.     /* TObject.Destroy */ __fastcall virtual ~TIVirtualFileSystem(void) { }
  41.     
  42. };
  43.  
  44. //-- var, const, procedure ---------------------------------------------------
  45.  
  46. }    /* namespace Fileintf */
  47.  
  48. #pragma warn .par
  49. #pragma warn .hid 
  50. #pragma warn .inl
  51.  
  52. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  53. using namespace Fileintf;
  54. #endif
  55. //-- end unit ----------------------------------------------------------------
  56. #endif    // FileIntf
  57.