aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/MarkController.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/MarkController.ts')
-rw-r--r--src/background/controllers/MarkController.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/background/controllers/MarkController.ts b/src/background/controllers/MarkController.ts
new file mode 100644
index 0000000..419a08b
--- /dev/null
+++ b/src/background/controllers/MarkController.ts
@@ -0,0 +1,17 @@
+import MarkUseCase from '../usecases/MarkUseCase';
+
+export default class MarkController {
+ private markUseCase: MarkUseCase;
+
+ constructor() {
+ this.markUseCase = new MarkUseCase();
+ }
+
+ setGlobal(key: string, x: number, y: number): Promise<any> {
+ return this.markUseCase.setGlobal(key, x, y);
+ }
+
+ jumpGlobal(key: string): Promise<any> {
+ return this.markUseCase.jumpGlobal(key);
+ }
+}