aboutsummaryrefslogtreecommitdiff
path: root/h-client
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-05-01 10:38:34 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-05-01 10:38:34 +0000
commitdfdf11645e1abc61d3bc2143f26e2dc3e59289fc (patch)
treec5a12f8522f1d9e886cfee8dde92a18d1a0aae65 /h-client
parentf32b61c7c4f499b9393524fc7ae9bbfc05b9b729 (diff)
h-client:added unknown device
Diffstat (limited to 'h-client')
-rw-r--r--h-client/hlibrary.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/h-client/hlibrary.py b/h-client/hlibrary.py
index 83ca3a9..6c3803c 100644
--- a/h-client/hlibrary.py
+++ b/h-client/hlibrary.py
@@ -312,6 +312,18 @@ class Printer(Device):
super(Printer, self).setPost()
self._post['compatibility'] = self._howItWorks
self._post['subtype'] = self._subtype
+
+class Unknown(Device):
+
+ def __init__(self):
+ super(Unknown, self).__init__()
+ self._type = 'unknown'
+ self._howItWorks = 'no'
+ self._interfaces = ['not-specified']
+ self._icon = 'unknown.png'
+
+ def setPost(self):
+ super(Unknown, self).setPost()
#class to carry out http requests by means of pycurl
class Mycurl: