Added docs and C bindings for AccessibleStateSet and AccessibleRelationSet.
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-listener.h
index c03851f..ec8b265 100644 (file)
@@ -7,6 +7,7 @@ extern "C" {
 #endif /* __cplusplus */
 
 #include "accessibleeventlistener.h"
+#include "keystrokelistener.h"
 
 /*
  *
@@ -19,20 +20,16 @@ typedef Accessibility_Event AccessibleEvent;
 /*
  *
  * Function prototype typedefs for Event Listener Callbacks.
- * (see libspi/accessibleeventlistener.h for definition of VoidEventListenerCB).
+ * (see libspi/accessibleeventlistener.h for definition of SpiVoidEventListenerCB).
  *
  * usage: signatures should be
  * void (*AccessibleEventListenerCB) (AccessibleEvent *event);
  *
- * void (*KeystrokeListenerCB) (KeystrokeEvent *Event);
+ * boolean (*AccessibleKeystrokeListenerCB) (AccessibleKeystrokeEvent *Event);
  */
 
-typedef VoidEventListenerCB AccessibleEventListenerCB;
-typedef VoidEventListenerCB KeystrokeListenerCB;
-
-typedef struct _KeystrokeListener {
-   KeystrokeListenerCB callback;
-} KeystrokeListener;
+typedef VoidSpiEventListenerCB AccessibleEventListenerCB;
+typedef BooleanKeystrokeListenerCB    AccessibleKeystrokeListenerCB;
 
 #ifdef __cplusplus
 }