Initial revision
[platform/core/uifw/at-spi2-atk.git] / idl / Event.idl
1 #ifndef __ACCESSIBILITY_EVENT_DEFINED__
2 #define __ACCESSIBILITY_EVENT_DEFINED__
3
4 #include <Bonobo.idl>
5
6 #if !defined(__ACCESSIBILITY_EVENT_COMPILATION) && defined(__ORBIT_IDL__)
7 %{
8 #pragma include_defs Accessible.h
9 #pragma include_defs Event.h
10 %}
11 #pragma inhibit push
12 #endif
13
14 #pragma inhibit push
15 #include "Accessible.idl"
16 #pragma inhibit pop
17
18 module Accessibility
19 {
20   interface Accessible;
21
22   struct Event {
23     string type;
24     Accessible target;
25     long detail1;
26     long detail2;
27   };
28
29   interface EventListener : Bonobo::Unknown {
30     oneway void notifyEvent (in Event e);
31   };
32
33 };
34
35 #if !defined(__ACCESSIBILITY_EVENT_COMPILATION) && defined(__ORBIT_IDL__)
36 #pragma inhibit pop
37 #endif
38
39 #endif