Environment.hx 763 B

1234567891011121314151617181920
  1. package system;
  2. /**
  3. Warning: This class definition is incomplete.
  4. In order to get most current extern definitions, install/update hxcs library with:
  5. haxelib install hxcs
  6. Please refer to http://lib.haxe.org/p/hxcs for more information.
  7. **/
  8. @:native('System.Environment') extern class Environment
  9. {
  10. static function Exit(code:Int):Void;
  11. static function GetEnvironmentVariables():system.collections.IDictionary;
  12. static function GetEnvironmentVariable(k:String):String;
  13. static function SetEnvironmentVariable(k:String, v:String):Void;
  14. static function GetCommandLineArgs():cs.NativeArray<String>;
  15. static var NewLine(default, null):String;
  16. static var TickCount(default, null):Int;
  17. static var OSVersion(default, null):OperatingSystem;
  18. }