projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added docs and C bindings for AccessibleStateSet and AccessibleRelationSet.
[platform/core/uifw/at-spi2-atk.git]
/
idl
/
Registry.idl
diff --git
a/idl/Registry.idl
b/idl/Registry.idl
index
5908106
..
2e56cf3
100644
(file)
--- a/
idl/Registry.idl
+++ b/
idl/Registry.idl
@@
-157,6
+157,11
@@
module Accessibility {
KEY_RELEASED
};
KEY_RELEASED
};
+ enum EventType {
+ KEY_PRESSED_EVENT,
+ KEY_RELEASED_EVENT
+ };
+
enum KeySynthType {
KEY_PRESS,
KEY_RELEASE,
enum KeySynthType {
KEY_PRESS,
KEY_RELEASE,
@@
-183,10
+188,19
@@
module Accessibility {
struct KeyStroke {
long keyID;
short keycode;
struct KeyStroke {
long keyID;
short keycode;
+ unsigned long timestamp;
KeyEventType type;
unsigned short modifiers;
};
KeyEventType type;
unsigned short modifiers;
};
+ struct DeviceEvent {
+ long eventID;
+ short hw_code;
+ unsigned long timestamp;
+ EventType type;
+ unsigned short modifiers;
+ };
+
typedef sequence< long > KeySet;
typedef sequence< KeyEventType > KeyEventTypeSeq;
typedef sequence< long > KeySet;
typedef sequence< KeyEventType > KeyEventTypeSeq;
@@
-194,6
+208,10
@@
module Accessibility {
boolean keyEvent (in KeyStroke key);
};
boolean keyEvent (in KeyStroke key);
};
+ interface DeviceEventListener : Bonobo::Unknown {
+ boolean notifyEvent (in DeviceEvent event);
+ };
+
interface DeviceEventController : Bonobo::Unknown {
/**
interface DeviceEventController : Bonobo::Unknown {
/**
@@
-239,6
+257,12
@@
module Accessibility {
in KeyEventTypeSeq type,
in boolean is_synchronous);
in KeyEventTypeSeq type,
in boolean is_synchronous);
+ boolean notifyListenersSync (in DeviceEventListener listener,
+ in DeviceEvent event);
+
+ oneway void notifyListenersAsync (in DeviceEventListener listener,
+ in DeviceEvent event);
+
/**
* generateKeyEvent:
* @keycode: a long integer indicating the keycode of
/**
* generateKeyEvent:
* @keycode: a long integer indicating the keycode of