Indicator as Clean Architecture
This commit is contained in:
parent
b130fd5268
commit
42d902982a
7 changed files with 77 additions and 2 deletions
11
src/background/controllers/addon-enabled.js
Normal file
11
src/background/controllers/addon-enabled.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import AddonEnabledInteractor from '../usecases/addon-enabled';
|
||||
|
||||
export default class AddonEnabledController {
|
||||
constructor() {
|
||||
this.addonEnabledInteractor = new AddonEnabledInteractor();
|
||||
}
|
||||
|
||||
indicate(enabled) {
|
||||
this.addonEnabledInteractor.indicate(enabled);
|
||||
}
|
||||
}
|
Reference in a new issue