added UIApp and renamed CLIBase

This commit is contained in:
2023-01-28 03:55:32 +01:00
parent b54a25eec6
commit cb1f892e6d
7 changed files with 41 additions and 22 deletions

View File

@@ -2,7 +2,6 @@ package lib.cli;
using tink.CoreApi;
abstract class CLIBase {
public function new() {};
abstract class CLIApp {
public abstract function invoke(handle: TermHandle): Future<Bool>;
}

9
src/lib/ui/UIApp.hx Normal file
View File

@@ -0,0 +1,9 @@
package lib.ui;
import kernel.ui.WindowContext;
using tink.CoreApi;
abstract class UIApp {
public abstract function invoke(context: WindowContext): Future<Bool>;
}