diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-07 20:11:16 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-07 20:11:16 +0100 |
commit | 1bb6ebf544b43cacf7c0755c5a8608b79b95e2d6 (patch) | |
tree | c09084a44bcde0528db1007c026ef2eb6a349c05 /module/plugins/Hook.py | |
parent | closed #486 (diff) | |
download | pyload-1bb6ebf544b43cacf7c0755c5a8608b79b95e2d6.tar.xz |
MultiHoster plugin type, some fixes, new documentation structure
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r-- | module/plugins/Hook.py | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py index 76bc19dbe..c1090aa70 100644 --- a/module/plugins/Hook.py +++ b/module/plugins/Hook.py @@ -136,30 +136,31 @@ class Hook(Base): """ Used to deactivate the hook. """ pass - def downloadPreparing(self, pyfile): + def periodical(self): pass - - def downloadFinished(self, pyfile): + + def newCaptchaTask(self, task): + """ new captcha task for the plugin, it MUST set the handler and timeout or will be ignored """ pass - def packageFinished(self, pypack): + def captchaCorrect(self, task): pass - def beforeReconnecting(self, ip): + def captchaInvalid(self, task): pass - - def afterReconnecting(self, ip): + + # public events starts from here + def downloadPreparing(self, pyfile): pass - def periodical(self): + def downloadFinished(self, pyfile): pass - def newCaptchaTask(self, task): - """ new captcha task for the plugin, it MUST set the handler and timeout or will be ignored """ + def packageFinished(self, pypack): pass - def captchaCorrect(self, task): + def beforeReconnecting(self, ip): pass - - def captchaInvalid(self, task): + + def afterReconnecting(self, ip): pass
\ No newline at end of file |