summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-04 17:23:13 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-04 17:23:13 +0100
commit18466eb7f8f3cd4ca9a0824074d2ff454939fce6 (patch)
treef22c67aab99d500581e73d5ad555d2d70c2a2bd2 /module/HookManager.py
parentfs_encode fix (diff)
downloadpyload-18466eb7f8f3cd4ca9a0824074d2ff454939fce6.tar.xz
some fixes
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py31
1 files changed, 1 insertions, 30 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index 386be0f5c..4b24f590a 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -15,7 +15,6 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
@author: RaNaN, mkaay
- @interface-version: 0.1
"""
import __builtin__
@@ -30,35 +29,7 @@ from module.plugins.PluginManager import literal_eval
from utils import lock
class HookManager:
- """Manages hooks, delegates and handles Events.
-
- Every plugin can define events, \
- but some very usefull events are called by the Core.
- Contrary to overwriting hook methods you can use event listener,
- which provides additional entry point in the control flow.
- Only do very short tasks or use threads.
-
- **Known Events:**
- Most hook methods exists as events. These are some additional known events.
-
- ===================== ============== ==================================
- Name Arguments Description
- ===================== ============== ==================================
- downloadPreparing fid A download was just queued and will be prepared now.
- downloadStarts fid A plugin will immediately starts the download afterwards.
- linksAdded links, pid Someone just added links, you are able to modify the links.
- allDownloadsProcessed Every link was handled, pyload would idle afterwards.
- allDownloadsFinished Every download in queue is finished.
- unrarFinished folder, fname An Unrar job finished
- configChanged sec,opt,value The config was changed.
- ===================== ============== ==================================
-
- | Notes:
- | allDownloadsProcessed is *always* called before allDownloadsFinished.
- | configChanged is *always* called before pluginConfigChanged.
-
-
- """
+ """ Manages hooks, loading, unloading. """
def __init__(self, core):
self.core = core