test: enhance accessible tree information
[platform/upstream/at-spi2-core.git] / atspi / atspi-misc-private.h
index e00df3f..27b3717 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2002 Ximian, Inc.
  *           2002 Sun Microsystems Inc.
  * Copyright 2010, 2011 Novell, Inc.
- *           
+ *
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -65,6 +65,7 @@ extern const char *atspi_interface_image;
 extern const char *atspi_interface_registry;
 extern const char *atspi_interface_selection;
 extern const char *atspi_interface_table;
+extern const char *atspi_interface_table_cell;
 extern const char *atspi_interface_text;
 extern const char *atspi_interface_cache;
 extern const char *atspi_interface_value;
@@ -106,17 +107,13 @@ GArray *_atspi_dbus_return_attribute_array_from_message (DBusMessage *message);
 
 GArray *_atspi_dbus_attribute_array_from_iter (DBusMessageIter *iter);
 
-gboolean _atspi_process_deferred_messages (gpointer data);
-
 void _atspi_dbus_set_interfaces (AtspiAccessible *accessible, DBusMessageIter *iter);
 
 void _atspi_dbus_set_state (AtspiAccessible *accessible, DBusMessageIter *iter);
 
 #define _ATSPI_DBUS_CHECK_SIG(message, type, error, ret) \
-  if (!message) { \
-    g_warning ("at-spi: Got no message at %s line %d\n", __FILE__, __LINE__); \
+  if (!message) \
     return (ret); \
-  } \
   if (dbus_message_get_type (message) == DBUS_MESSAGE_TYPE_ERROR) \
   { \
     const char *err; \
@@ -151,12 +148,24 @@ GQuark _atspi_error_quark (void);
 typedef enum
 {
   ATSPI_ERROR_APPLICATION_GONE,
-  ATSPI_ERROR_IPC
+  ATSPI_ERROR_IPC,
+  ATSPI_ERROR_SYNC_NOT_ALLOWED,
 } AtspiError;
 
 extern GMainLoop *atspi_main_loop;
 extern gboolean atspi_no_cache;
 
+GHashTable *_atspi_get_live_refs ();
+
+gchar *_atspi_name_compat (gchar *in);
+
+GHashTable *_atspi_dbus_update_cache_from_dict (AtspiAccessible *accessible, DBusMessageIter *iter);
+
+gboolean _atspi_get_allow_sync ();
+
+gboolean _atspi_set_allow_sync (gboolean val);
+
+void _atspi_set_error_no_sync (GError **error);
 G_END_DECLS
 
 #endif /* _ATSPI_MISC_PRIVATE_H_ */