import interfaces
from base import BaseProxy, Enum
-from factory import add_accessible_class
+from factory import accessible_factory
__all__ = [
"ContentStream",
func = self.get_dbus_method("getURI")
return func(*args, **kwargs)
-# ATTENTION - Register the Application class with the accessible factory.
-add_accessible_class(interfaces.ATSPI_STREAMABLE_CONTENT, StreamableContent)
+# Register the accessible class with the factory.
+accessible_factory.register_accessible_class(interfaces.ATSPI_STREAMABLE_CONTENT, StreamableContent)
#END----------------------------------------------------------------------------