Files
lazarus-ccr/components/fpexif/tests/unittest/common/fettestutils.pas
wp_xxyyzz e03afa62f1 fpexif: Initial commit of units and tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6080 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-12-02 17:12:00 +00:00

34 lines
436 B
ObjectPascal

unit fetTestUtils;
{$IFDEF FPC}
{$mode objfpc}{$H+}
{$ENDIF}
interface
uses
{$IFDEF FPC}
{$ELSE}
Windows,
{$ENDIF}
Classes, SysUtils;
{$IFDEF FPC}
{$ELSE}
function CopyFile(AFilename1, AFileName2: String): Boolean;
{$ENDIF}
implementation
{$IFDEF FPC}
{$ELSE}
function CopyFile(AFileName1, AFileName2: String): Boolean;
begin
Result := Windows.CopyFile(PChar(AFilename1), PChar(AFilename2), true);
end;
{$ENDIF}
end.