diff options
author | Mike Gorse <mgorse@novell.com> | 2010-12-29 10:28:46 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2010-12-29 10:28:46 -0500 |
commit | 1e08268e94a4143f4b6f4bd29e08c9f1a868bb45 (patch) | |
tree | 64a3919df061cb93b87eff52d1a4469731c1835a /atspi/atspi-types.h | |
parent | bc584a655feef90df13b010fab05017f98b26768 (diff) | |
download | at-spi2-core-1e08268e94a4143f4b6f4bd29e08c9f1a868bb45.tar.gz |
Send an event type as a struct rather than a concatenated string
Diffstat (limited to 'atspi/atspi-types.h')
-rw-r--r-- | atspi/atspi-types.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/atspi/atspi-types.h b/atspi/atspi-types.h index e56f93f0..f1ad80cd 100644 --- a/atspi/atspi-types.h +++ b/atspi/atspi-types.h @@ -54,7 +54,7 @@ typedef guint AtspiDeviceEventMask; typedef struct _AtspiDeviceEvent AtspiDeviceEvent; struct _AtspiDeviceEvent { - AtspiEventType type; + AtspiDeviceEventType type; guint id; gushort hw_code; gushort modifiers; @@ -80,10 +80,18 @@ struct _AtspiKeyDefinition gint unused; }; +typedef struct _AtspiEventType AtspiEventType; +struct _AtspiEventType +{ + gchar *klass; + gchar *major; + gchar *minor; +}; + typedef struct _AtspiEvent AtspiEvent; struct _AtspiEvent { - gchar *type; + AtspiEventType type; AtspiAccessible *source; gint detail1; gint detail2; |