summaryrefslogtreecommitdiffstats
path: root/pyload/cli/Handler.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-10 17:40:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-10 17:40:30 +0200
commit816f959156a4d44a4b7444c27706c617c76ef5f0 (patch)
treecd3a7f9e2451020552a199cd73d7051be0d05c49 /pyload/cli/Handler.py
parentMerge pull request #1409 from ktrhn/master (diff)
downloadpyload-816f959156a4d44a4b7444c27706c617c76ef5f0.tar.xz
Remove old CLI
Diffstat (limited to 'pyload/cli/Handler.py')
-rw-r--r--pyload/cli/Handler.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/pyload/cli/Handler.py b/pyload/cli/Handler.py
deleted file mode 100644
index 33e5dd8e6..000000000
--- a/pyload/cli/Handler.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# -*- coding: utf-8 -*-
-# @author: RaNaN
-
-class Handler(object):
-
- def __init__(self, cli):
- self.cli = cli
- self.init()
-
- client = property(lambda self: self.cli.client)
- input = property(lambda self: self.cli.input)
-
-
- def init(self):
- pass
-
-
- def onChar(self, char):
- pass
-
-
- def onBackSpace(self):
- pass
-
-
- def onEnter(self, inp):
- pass
-
-
- def setInput(self, inp=""):
- self.cli.setInput(inp)
-
-
- def backspace(self):
- self.cli.setInput(self.input[:-1])
-
-
- def renderBody(self, line):
- """ gets the line where to render output and should return the line number below its content """
- return line + 1