base.py 393 B

123456789101112131415161718192021222324
  1. from engine.log import debug
  2. from engine.plugins.view import View
  3. class BasePlugin(View):
  4. def __init__(self, name=None):
  5. self.name = name
  6. def start(self):
  7. debug('Start plugin')
  8. class Icon:
  9. def __init__(self):
  10. pass
  11. class Data:
  12. def __init__(self):
  13. pass
  14. class Timer:
  15. def __init__(self):
  16. pass