Added directory 'util' for accessibility-related
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Application.idl
index 528d63c..a41db3a 100644 (file)
 #include <Bonobo.idl>
 #include <Accessible.idl>
 
-#if !defined(__ACCESSIBILITY_APPLICATION_COMPILATION) && defined(__ORBIT_IDL__)
-%{
-#pragma include_defs Application.h
-%}
-#pragma inhibit push
-#endif
-
-#pragma inhibit push
-#include "Accessible.idl"
-#pragma inhibit pop
-
 module Accessibility {
   interface Application : Accessible {
 
@@ -56,11 +45,16 @@ module Accessibility {
     readonly attribute string version;
 
     /**
-     * Get the application's process ID in the operating system's 
-     * process table.
+     * Get the application instance's unique ID as assigned by the registry.
      *
      **/
-    readonly attribute string id;
+    attribute long id;
+
+    /**
+     * Register with this application's toolkit for "toolkit" event notifications.
+     *
+     **/
+    void registerToolkitEventListener (in EventListener listener, in string eventName);
 
     /**
      * pause:
@@ -83,8 +77,4 @@ module Accessibility {
   };
 };
 
-#if !defined(__ACCESSIBILITY_APPLICATION_COMPILATION) && defined(__ORBIT_IDL__)
-#pragma inhibit pop
-#endif
-
 #endif