#include "atspi-types.h"
+G_BEGIN_DECLS
+
GType atspi_event_get_type (void);
/**
* A function prototype for callbacks via which clients are notified of AT-SPI events.
*
**/
-typedef void (*AtspiEventListenerCB) (const AtspiEvent *event,
+typedef void (*AtspiEventListenerCB) (AtspiEvent *event,
void *user_data);
/**
GType atspi_event_listener_get_type (void);
AtspiEventListener *
+atspi_event_listener_new (AtspiEventListenerCB callback,
+ gpointer user_data,
+ GDestroyNotify callback_destroyed);
+
+AtspiEventListener *
atspi_event_listener_new_simple (AtspiEventListenerSimpleCB callback,
GDestroyNotify callback_destroyed);
atspi_event_listener_deregister_no_data (AtspiEventListenerSimpleCB callback,
const gchar *event_type,
GError **error);
+
+G_END_DECLS
+
#endif /* _ATSPI_EVENT_LISTENER_H_ */