aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/AddonEnabledController.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/AddonEnabledController.ts')
-rw-r--r--src/background/controllers/AddonEnabledController.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/background/controllers/AddonEnabledController.ts b/src/background/controllers/AddonEnabledController.ts
new file mode 100644
index 0000000..9a3a521
--- /dev/null
+++ b/src/background/controllers/AddonEnabledController.ts
@@ -0,0 +1,11 @@
+import AddonEnabledUseCase from '../usecases/AddonEnabledUseCase';
+
+export default class AddonEnabledController {
+ constructor() {
+ this.addonEnabledUseCase = new AddonEnabledUseCase();
+ }
+
+ indicate(enabled) {
+ return this.addonEnabledUseCase.indicate(enabled);
+ }
+}