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

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //----------------------------------------------------------------------------
  6. // FmxUtils.hpp - dcc32 generated hdr (DO NOT EDIT) rev: 0
  7. // From: FmxUtils.pas
  8. //----------------------------------------------------------------------------
  9. #ifndef FmxUtilsHPP
  10. #define FmxUtilsHPP
  11. //----------------------------------------------------------------------------
  12. #include <consts.hpp>
  13. #include <Classes.hpp>
  14. #include <Windows.hpp>
  15. #include <SysUtils.hpp>
  16. #include <System.hpp>
  17. //-- type declarations -------------------------------------------------------
  18. class __declspec(delphiclass) EInvalidDest;
  19. class __declspec(pascalimplementation) EInvalidDest : public EStreamError
  20. {
  21.     typedef EStreamError inherited;
  22.     
  23. public:
  24.     /* Exception.Create */ __fastcall EInvalidDest(const AnsiString Msg) : EStreamError(Msg) { }
  25.     /* Exception.CreateFmt */ __fastcall EInvalidDest(const AnsiString Msg, const TVarRec *Args, const 
  26.         int Args_Size) : EStreamError(Msg, Args, Args_Size) { }
  27.     /* Exception.CreateRes */ __fastcall EInvalidDest(int Ident) : EStreamError(Ident) { }
  28.     /* Exception.CreateResFmt */ __fastcall EInvalidDest(int Ident, const TVarRec *Args, const int Args_Size
  29.         ) : EStreamError(Ident, Args, Args_Size) { }
  30.     /* Exception.CreateHelp */ __fastcall EInvalidDest(const AnsiString Msg, int AHelpContext) : EStreamError(
  31.         Msg, AHelpContext) { }
  32.     /* Exception.CreateFmtHelp */ __fastcall EInvalidDest(const AnsiString Msg, const TVarRec *Args, const 
  33.         int Args_Size, int AHelpContext) : EStreamError(Msg, Args, Args_Size, AHelpContext) { }
  34.     /* Exception.CreateResHelp */ __fastcall EInvalidDest(int Ident, int AHelpContext) : EStreamError(Ident
  35.         , AHelpContext) { }
  36.     /* Exception.CreateResFmtHelp */ __fastcall EInvalidDest(int Ident, const TVarRec *Args, const int
  37.         Args_Size, int AHelpContext) : EStreamError(Ident, Args, Args_Size, AHelpContext) { }
  38.  
  39. public:
  40.     /* TObject.Destroy */ __fastcall virtual ~EInvalidDest(void) { }
  41.  
  42. };
  43.  
  44. class EFCantMove : public EStreamError
  45. {
  46.     typedef EStreamError inherited;
  47.  
  48. public:
  49.     /* Exception.Create */ __fastcall EFCantMove(const AnsiString Msg) : EStreamError(Msg) { }
  50.     /* Exception.CreateFmt */ __fastcall EFCantMove(const AnsiString Msg, const TVarRec *Args, const int
  51.         Args_Size) : EStreamError(Msg, Args, Args_Size) { }
  52.     /* Exception.CreateRes */ __fastcall EFCantMove(int Ident) : EStreamError(Ident) { }
  53.     /* Exception.CreateResFmt */ __fastcall EFCantMove(int Ident, const TVarRec *Args, const int Args_Size
  54.         ) : EStreamError(Ident, Args, Args_Size) { }
  55.     /* Exception.CreateHelp */ __fastcall EFCantMove(const AnsiString Msg, int AHelpContext) : EStreamError(
  56.         Msg, AHelpContext) { }
  57.     /* Exception.CreateFmtHelp */ __fastcall EFCantMove(const AnsiString Msg, const TVarRec *Args, const 
  58.         int Args_Size, int AHelpContext) : EStreamError(Msg, Args, Args_Size, AHelpContext) { }
  59.     /* Exception.CreateResHelp */ __fastcall EFCantMove(int Ident, int AHelpContext) : EStreamError(Ident
  60.         , AHelpContext) { }
  61.     /* Exception.CreateResFmtHelp */ __fastcall EFCantMove(int Ident, const TVarRec *Args, const int Args_Size
  62.         , int AHelpContext) : EStreamError(Ident, Args, Args_Size, AHelpContext) { }
  63.     
  64. public:
  65.     /* TObject.Destroy */ __fastcall virtual ~EFCantMove(void) { }
  66.     
  67. };
  68.  
  69. //-- var, const, procedure ---------------------------------------------------
  70. extern void __fastcall CopyFile(const AnsiString FileName, const AnsiString DestName);
  71. extern void __fastcall MoveFile(const AnsiString FileName, const AnsiString DestName);
  72. extern long __fastcall GetFileSize(const AnsiString FileName);
  73. extern TDateTime __fastcall FileDateTime(const AnsiString FileName);
  74. extern bool __fastcall HasAttr(const AnsiString FileName, unsigned short Attr);
  75. extern int __fastcall ExecuteFile(const AnsiString FileName, const AnsiString Params, const AnsiString 
  76.     DefaultDir, int ShowCmd);
  77. //-- end unit ----------------------------------------------------------------
  78. #endif    // FmxUtils
  79.