aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/mark.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/mark.js')
-rw-r--r--src/background/controllers/mark.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/background/controllers/mark.js b/src/background/controllers/mark.js
new file mode 100644
index 0000000..8d0cefd
--- /dev/null
+++ b/src/background/controllers/mark.js
@@ -0,0 +1,15 @@
+import MarkInteractor from '../usecases/mark';
+
+export default class MarkController {
+ constructor() {
+ this.markInteractor = new MarkInteractor();
+ }
+
+ setGlobal(key, x, y) {
+ this.markInteractor.setGlobal(key, x, y);
+ }
+
+ jumpGlobal(key) {
+ this.markInteractor.jumpGlobal(key);
+ }
+}