forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
6
Kha/Backends/WPF/system/io/Directory.hx
Normal file
6
Kha/Backends/WPF/system/io/Directory.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package system.io;
|
||||
|
||||
@:native("System.IO.Directory")
|
||||
extern class Directory {
|
||||
public static function CreateDirectory(path: String): DirectoryInfo;
|
||||
}
|
4
Kha/Backends/WPF/system/io/DirectoryInfo.hx
Normal file
4
Kha/Backends/WPF/system/io/DirectoryInfo.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package system.io;
|
||||
|
||||
@:native("System.IO.DirectoryInfo")
|
||||
extern class DirectoryInfo {}
|
13
Kha/Backends/WPF/system/io/File.hx
Normal file
13
Kha/Backends/WPF/system/io/File.hx
Normal file
@ -0,0 +1,13 @@
|
||||
package system.io;
|
||||
|
||||
import haxe.io.BytesData;
|
||||
|
||||
@:native("System.IO.File")
|
||||
extern class File {
|
||||
public static function AppendAllText(path: String, contents: String): Void;
|
||||
public static function ReadAllText(filename: String): String;
|
||||
public static function WriteAllText(path: String, contents: String): Void;
|
||||
public static function ReadAllBytes(path: String): BytesData;
|
||||
public static function WriteAllBytes(path: String, bytes: BytesData): Void;
|
||||
public static function Exists(path: String): Bool;
|
||||
}
|
6
Kha/Backends/WPF/system/io/Path.hx
Normal file
6
Kha/Backends/WPF/system/io/Path.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package system.io;
|
||||
|
||||
@:native("System.IO.Path")
|
||||
extern class Path {
|
||||
public static function GetFullPath(path: String): String;
|
||||
}
|
Reference in New Issue
Block a user