#include "dbind/dbind.h"
+G_BEGIN_DECLS
+
typedef struct _AtspiReference AtspiReference;
struct _AtspiReference
{
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;
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; \
} \
if (strcmp (dbus_message_get_signature (message), type) != 0) \
{ \
- g_warning ("at-spi: Expected message signature %s but got %s at %s line %d", type, dbus_message_get_signature (message), __FILE__, __LINE__); \
+ g_warning ("AT-SPI: Expected message signature %s but got %s at %s line %d", type, dbus_message_get_signature (message), __FILE__, __LINE__); \
dbus_message_unref (message); \
return (ret); \
}
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_ */