automatic add Process to DCEHack
This commit is contained in:
@@ -3,26 +3,7 @@ package kernel;
|
||||
@:keep
|
||||
class DCEHack {
|
||||
// Dont actually call this
|
||||
public static function load() {
|
||||
return [
|
||||
new bin.Disk(),
|
||||
new bin.GPS(),
|
||||
new bin.HelloWorld(),
|
||||
new bin.KernelLog(),
|
||||
new bin.LSPS(),
|
||||
new bin.Net(),
|
||||
new bin.Redstone(),
|
||||
new bin.Service(),
|
||||
new bin.Terminal(),
|
||||
new bin.Turtle(),
|
||||
new bin.HelloWorldService(),
|
||||
new bin.srsc.SiteRessourceController(),
|
||||
new bin.srsc.CLI(),
|
||||
new bin.Perf(),
|
||||
new bin.KSettings(),
|
||||
new bin.exporter.ResManager(),
|
||||
new bin.exporter.Res(),
|
||||
new bin.ID(),
|
||||
];
|
||||
public static function load():Array<kernel.ps.Process>{
|
||||
macros.DCEHack.dceGenerateCreate();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package kernel.ps;
|
||||
/**
|
||||
Defines an independent process that can be run by the kernel.
|
||||
**/
|
||||
@:autoBuild(macros.DCEHack.DCEHack.dceInclude())
|
||||
interface Process {
|
||||
public function run(handle: ProcessHandle): Void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user