diff options
| author | Jonas Dellinger <jonas.dellinger@2trde.com> | 2022-06-16 18:33:43 +0200 |
|---|---|---|
| committer | Jonas Dellinger <jonas.dellinger@2trde.com> | 2022-06-16 18:33:43 +0200 |
| commit | 0a12fe6102da33977548ba0c277bd4fe34e262ab (patch) | |
| tree | 7ff803d0d106db43ce206a6cdfc74c187f0d901a /backend/plugin/passive_plugin.py | |
| parent | a95bf94d878f61869895bb22cbff1b4f524c5dca (diff) | |
| download | decky-loader-0a12fe6102da33977548ba0c277bd4fe34e262ab.tar.gz decky-loader-0a12fe6102da33977548ba0c277bd4fe34e262ab.zip | |
First draft of backend independent plugins
Diffstat (limited to 'backend/plugin/passive_plugin.py')
| -rw-r--r-- | backend/plugin/passive_plugin.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/plugin/passive_plugin.py b/backend/plugin/passive_plugin.py new file mode 100644 index 00000000..9b7907bb --- /dev/null +++ b/backend/plugin/passive_plugin.py @@ -0,0 +1,15 @@ +class PassivePlugin: + def __init__(self, logger) -> None: + self.logger + pass + + def call_method(self, method_name, args): + self.logger.debug(f"Tried to call method {method_name}, but plugin is in passive mode") + pass + + def execute_method(self, method_name, method_args): + self.logger.debug(f"Tried to execute method {method_name}, but plugin is in passive mode") + pass + + async def start(self): + pass# Empty stub |
