+
+static DRouteMethod methods_desktop[] =
+{
+ { impl_desktop_get_child_at_index, "getChildAtIndex" },
+ { impl_desktop_get_children, "getChildren" },
+ { NULL, NULL }
+};
+
+static DRouteProperty properties_desktop[] =
+{
+ { impl_desktop_get_child_count, NULL, "getChildCount" },
+ { NULL, NULL, NULL }
+};
+
+static DRouteProperty properties_accessible[] =
+{
+ { impl_get_name, "getName" },
+ { NULL, NULL }
+};
+
+void
+spi_registry_initialize_desktop_interface (DRouteData * data)
+{
+ droute_add_interface (data, SPI_DBUS_INTERFACE_DESKTOP, methods_desktop,
+ properties_desktop, NULL, NULL);
+ droute_add_interface (data, SPI_DBUS_INTERFACE_ACCESSIBLE, NULL,
+ properties_accessible, NULL, NULL);
+};