mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-25 10:42:20 -05:00
Added CreateDirectory
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@540 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
db241061dd
commit
63f2367d19
@ -76,6 +76,10 @@ function ps_DirectoryExists ( const DirectoryName : string ) : Boolean; extdecl;
|
|||||||
begin
|
begin
|
||||||
result := DirectoryExists(DirectoryName);
|
result := DirectoryExists(DirectoryName);
|
||||||
end;
|
end;
|
||||||
|
function ps_CreateDirectory( const DirectoryName : string) : boolean; extdecl;
|
||||||
|
begin
|
||||||
|
result := CreateDir(directoryName);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure ps_WriteINI(Section, KeyName, NewString, FileName: string);extdecl;
|
procedure ps_WriteINI(Section, KeyName, NewString, FileName: string);extdecl;
|
||||||
var
|
var
|
||||||
|
@ -100,6 +100,7 @@ AddFunction(@ps_WriteFileString, 'function WriteFileString(FileNum: Integer; s:
|
|||||||
AddFunction(@ps_SetFileCharPointer, 'Function SetFileCharPointer(FileNum, cChars, Origin: Integer): Integer;');
|
AddFunction(@ps_SetFileCharPointer, 'Function SetFileCharPointer(FileNum, cChars, Origin: Integer): Integer;');
|
||||||
AddFunction(@ps_FilePointerPos, 'function FilePointerPos(FileNum: Integer): Integer;');
|
AddFunction(@ps_FilePointerPos, 'function FilePointerPos(FileNum: Integer): Integer;');
|
||||||
AddFunction(@ps_DirectoryExists,'function DirectoryExists( const DirectoryName : string ) : Boolean;');
|
AddFunction(@ps_DirectoryExists,'function DirectoryExists( const DirectoryName : string ) : Boolean;');
|
||||||
|
AddFunction(@ps_CreateDirectory,'function CreateDirectory( const DirectoryName : string) : boolean;');
|
||||||
AddFunction(@ps_FileExists,'function FileExists ( const FileName : string ) : Boolean;');
|
AddFunction(@ps_FileExists,'function FileExists ( const FileName : string ) : Boolean;');
|
||||||
AddFunction(@ps_WriteINI,'procedure WriteINI(Section, KeyName, NewString, FileName: string);');
|
AddFunction(@ps_WriteINI,'procedure WriteINI(Section, KeyName, NewString, FileName: string);');
|
||||||
AddFunction(@ps_ReadINI,'function ReadINI(Section, KeyName, FileName: string): string;');
|
AddFunction(@ps_ReadINI,'function ReadINI(Section, KeyName, FileName: string): string;');
|
||||||
|
Loading…
Reference in New Issue
Block a user