2018-03-22 03:16:51 +00:00
|
|
|
package cc;
|
|
|
|
|
|
|
|
import lua.Table;
|
|
|
|
import haxe.extern.Rest;
|
|
|
|
|
|
|
|
@:native("multishell")
|
|
|
|
extern class Multishell {
|
2021-03-22 04:54:22 +00:00
|
|
|
public static function getCurrent():Int;
|
|
|
|
public static function getCount():Int;
|
|
|
|
public static function launch(environment:Table<Dynamic, Dynamic>, path:String, args:Rest<String>):Int;
|
|
|
|
public static function setFocus(id:Int):Void;
|
|
|
|
public static function setTitle(id:Int, title:String):Void;
|
|
|
|
public static function getTitle(id:Int):String;
|
|
|
|
public static function getFocus():Int;
|
|
|
|
}
|