aboutsummaryrefslogblamecommitdiff
path: root/src/background/controllers/AddonEnabledController.ts
blob: 903df401de735e0d1dd4886922a5a37eac71d41a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      
                                                                  
             
                                             
 

                                                     
   
                                            

                                                      
import { injectable } from 'tsyringe';
import AddonEnabledUseCase from '../usecases/AddonEnabledUseCase';

@injectable()
export default class AddonEnabledController {

  constructor(
    private addonEnabledUseCase: AddonEnabledUseCase,
  ) {
  }

  indicate(enabled: boolean): Promise<any> {
    return this.addonEnabledUseCase.indicate(enabled);
  }
}