summaryrefslogtreecommitdiffstats
path: root/pyload/remote/apitypes.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-25 22:57:33 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-25 22:57:33 +0100
commit10bd0793f4dc0191d97da390a43552a272c8290e (patch)
tree87b62f81e62b630a89e80beabdec5dd54a359338 /pyload/remote/apitypes.py
parentrender addon menu for packages (diff)
downloadpyload-10bd0793f4dc0191d97da390a43552a272c8290e.tar.xz
invoke addons via context menu
Diffstat (limited to 'pyload/remote/apitypes.py')
-rw-r--r--pyload/remote/apitypes.py16
1 files changed, 8 insertions, 8 deletions
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):