Remove driver.py
authorHuang Peng <shawn.p.huang@gmail.com>
Mon, 19 May 2008 02:27:49 +0000 (10:27 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Mon, 19 May 2008 02:27:49 +0000 (10:27 +0800)
ibus/driver.py [deleted file]

diff --git a/ibus/driver.py b/ibus/driver.py
deleted file mode 100644 (file)
index 8b22e2a..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-import dbus
-import dbus.server
-import dbus.lowlevel
-import dbus.service
-import dbus.mainloop.glib
-import gobject
-
-class DBusObject (dbus.service.Object):
-       SUPPORTS_MULTIPLE_CONNECTIONS = True
-       def __init__ (self):
-               dbus.service.Object.__init__ (self)
-               self._max_id = 1
-
-       @dbus.service.method (dbus_interface=dbus.BUS_DAEMON_IFACE, out_signature="s", connection_keyword="connection")
-       def Hello (self, connection):
-               print "Hello is called"
-               name = "ibus.%d" % self._max_id
-               self._max_id = self._max_id +1
-               connection.set_unique_name (name)
-               return name
-
-