added UIApp and renamed CLIBase
This commit is contained in:
@@ -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
9
src/lib/ui/UIApp.hx
Normal 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>;
|
||||
}
|
||||
Reference in New Issue
Block a user