aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/ConsoleController.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/ConsoleController.ts')
-rw-r--r--src/background/controllers/ConsoleController.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/background/controllers/ConsoleController.ts b/src/background/controllers/ConsoleController.ts
new file mode 100644
index 0000000..11ee09d
--- /dev/null
+++ b/src/background/controllers/ConsoleController.ts
@@ -0,0 +1,11 @@
+import { injectable } from "tsyringe";
+import ConsoleUseCase from "./ConsoleUseCase";
+
+@injectable()
+export default class ConsoleController {
+ constructor(private readonly consoleUseCase: ConsoleUseCase) {}
+
+ resize(width: number, height: number) {
+ return this.consoleUseCase.resize(width, height);
+ }
+}