+
+ /*
+ * TODO: add interface containers/constructors for ACTION, EDITABLE_TEXT, HYPERTEXT,
+ * IMAGE, SELECTION, TABLE, TEXT, VALUE.
+ */
+
+ /* add appropriate ATK interfaces */
+
+ /* Action: not yet implemented
+ if (ATK_IS_ACTION (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (action_interface_new (o)));
+ }
+ */
+
+ if (ATK_IS_COMPONENT (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (component_interface_new (o)));
+ }
+
+ /* Others: not yet implemented
+ if (ATK_IS_EDITABLE_TEXT (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (editable_text_interface_new (o)));
+ }
+ else if (ATK_IS_HYPERTEXT (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (hypertext_interface_new (o)));
+ }
+ else if (ATK_IS_TEXT (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (text_interface_new (o)));
+ }
+ if (ATK_IS_IMAGE (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (image_interface_new (o)));
+ }
+ if (ATK_IS_SELECTION (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (selection_interface_new (o)));
+ }
+ if (ATK_IS_TABLE (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (table_interface_new (o)));
+ }
+ if (ATK_IS_VALUE (o))
+ {
+ bonobo_object_add_interface (bonobo_object (retval),
+ bonobo_object (value_interface_new (o)));
+ }
+
+ */
+