Exemplo n.º 1
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(BAZ.namespace)
     DBus.publish_object(BAZ.object_path, BazInterface(self))
     DBus.register_service(BAZ.service_name)
Exemplo n.º 2
0
 def setUp(self):
     """Set up the localization module."""
     self.module = Baz()
     self.interface = BazInterface(self.module)
Exemplo n.º 3
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(BAZ.object_path, BazInterface(self))
     DBus.register_service(BAZ.service_name)
Exemplo n.º 4
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(BazInterface(self), ADDON_BAZ_PATH)
     DBus.register_service(ADDON_BAZ_NAME)