From 10bd0793f4dc0191d97da390a43552a272c8290e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 25 Nov 2013 22:57:33 +0100 Subject: invoke addons via context menu --- pyload/remote/apitypes.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pyload/remote/apitypes.py') diff --git a/pyload/remote/apitypes.py b/pyload/remote/apitypes.py index 6a7d2f063..decfbb8b3 100644 --- a/pyload/remote/apitypes.py +++ b/pyload/remote/apitypes.py @@ -194,7 +194,7 @@ class EventInfo(BaseObject): self.eventname = eventname self.event_args = event_args -class FileDoesNotExists(ExceptionObject): +class FileDoesNotExist(ExceptionObject): __slots__ = ['fid'] def __init__(self, fid=None): @@ -261,7 +261,7 @@ class OnlineCheck(BaseObject): self.rid = rid self.data = data -class PackageDoesNotExists(ExceptionObject): +class PackageDoesNotExist(ExceptionObject): __slots__ = ['pid'] def __init__(self, pid=None): @@ -323,7 +323,7 @@ class ServerStatus(BaseObject): self.download = download self.reconnect = reconnect -class ServiceDoesNotExists(ExceptionObject): +class ServiceDoesNotExist(ExceptionObject): __slots__ = ['plugin', 'func'] def __init__(self, plugin=None, func=None): @@ -364,7 +364,7 @@ class UserData(BaseObject): self.user = user self.templateName = templateName -class UserDoesNotExists(ExceptionObject): +class UserDoesNotExist(ExceptionObject): __slots__ = ['user'] def __init__(self, user=None): @@ -383,10 +383,6 @@ class Iface(object): pass def addUser(self, username, password): pass - def callAddon(self, plugin, func, arguments): - pass - def callAddonHandler(self, plugin, func, pid_or_fid): - pass def checkContainer(self, filename, data): pass def checkHTML(self, html, url): @@ -463,6 +459,10 @@ class Iface(object): pass def getWSAddress(self): pass + def invokeAddon(self, plugin, func, func_args): + pass + def invokeAddonHandler(self, plugin, func, pid_or_fid): + pass def isInteractionWaiting(self, mode): pass def loadConfig(self, name): -- cgit v1.2.3