summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r--module/plugins/Hook.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 1b3c05ba1..4bbf6e33a 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -19,7 +19,6 @@
"""
-
class Hook():
__name__ = "Hook"
__version__ = "0.2"
@@ -38,6 +37,9 @@ class Hook():
self.interval = 60
self.setup()
+
+ def __repr__(self):
+ return self.__name__
def setup(self):
""" more init stuff if needed"""
@@ -84,3 +86,13 @@ class Hook():
def unrarFinished(self, folder, fname):
pass
+
+ def newCaptchaTask(self, task):
+ """ new captcha task for the plugin, it MUST set the handler and timeout or will be ignored """
+ pass
+
+ def captchaCorrect(self, task):
+ pass
+
+ def captchaWrong(self, task):
+ pass \ No newline at end of file