2008-09-25 Mark Doffman <mark.doffman@codethink.co.uk>
authorMark Doffman <mdoff@silver-wind.(none)>
Thu, 25 Sep 2008 15:06:46 +0000 (16:06 +0100)
committerMark Doffman <mdoff@silver-wind.(none)>
Thu, 25 Sep 2008 15:06:46 +0000 (16:06 +0100)
* xml/*.xml
Simplify the Desktop interface. Create signals for
application registration and de-registration. Add these
to Tree interface.

xml/org.freedesktop.atspi.Registry.xml
xml/org.freedesktop.atspi.Tree.xml

index 52cc31c..416a4f0 100644 (file)
       illustrating the relationship between applications, Registry, and AT is shown at:
       http://developer.gnome.org/projects/gap/tech-docs/SPIBlockDiagram.png  </p>
   </tp:docstring>
-  <method name="registerApplication">
+  <method name="getApplications">
     <tp:docstring>
-      Register a new application with the accessibility broker.
-    </tp:docstring>
-  </method>
-  <method name="deregisterApplication">
-    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-      <p>De-register an application previously registered with the broker.
-        deregisterApplication:</p>
-    </tp:docstring>
-    <arg direction="in" name="app" type="o" tp:type="Application">
-    <tp:docstring>
-      A reference to the Application to be deregistered.
-    </tp:docstring>
-    </arg>
-  </method>
-  <method name="registerGlobalEventListener">
-    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-      <p>Register a client's interest in (all) application events of 
-        a certain type.</p>
-    </tp:docstring>
-    <arg direction="in" name="listener" type="o" tp:type="EventListener">
-    <tp:docstring>
-      A reference to the requesting EventListener.
-    </tp:docstring>
-    </arg>
-    <arg direction="in" name="eventName" type="s">
-    <tp:docstring>
-      A string which indicates the type of events about which the client desires notification.
-    </tp:docstring>
-    </arg>
-  </method>
-  <method name="deregisterGlobalEventListenerAll">
-    <arg direction="in" name="listener" type="o" tp:type="EventListener">
-    <tp:docstring>
-      The requesting EventListenerRequest that a previously registered client stop receiving global notifications for all events for which it was registered.
-    </tp:docstring>
-    </arg>
-  </method>
-  <method name="deregisterGlobalEventListener">
-    <arg direction="in" name="listener" type="o" tp:type="EventListener">
-    <tp:docstring>
-      The requesting EventListener
-    </tp:docstring>
-    </arg>
-    <arg direction="in" name="eventName" type="s">
-    <tp:docstring>
-      A string indicating the type of eventsRequest that a previously registered client stop receiving global notifications for events of a certain type.
-    </tp:docstring>
-    </arg>
-  </method>
-  <method name="getDesktopCount">
-    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-      <p>Event types: "Window" "Desktop"
-        "Window:Create" "Window:Destroy"
-        "Window:Iconify" "Window:Restore"
-        "Window:Fullscreen" "Window:Resize"
-        "Desktop:Create" "Desktop:Destroy"  
-        "Desktop:Focus" "Desktop:Defocus"
-        "Desktop:Reorder" 
-        "Focus"
-        "GtkWidget:show"
-        "GObject:notify:propertyname"     </p>
-
-      <p>( not sure we should allow these last 2 forms, 
-        since they are toolkit-specific, but they're powerful )    </p>
-
-      <p>Get the current number of desktops.</p>
-    </tp:docstring>
-    <arg direction="out" type="n" tp:type="short">
-    <tp:docstring>
-      A short integer indicating the current number of Desktops.
-    </tp:docstring>
-    </arg>
-  </method>
-  <method name="getDesktop">
-    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-      <p>Get the nth accessible desktop.     </p>
-    </tp:docstring>
-    <arg direction="in" name="n" type="n" tp:type="short"/>
-    <arg direction="out" type="o" tp:type="Desktop">
-    <tp:docstring>
-      A reference to the requested Desktop.
-    </tp:docstring>
-    </arg>
-  </method>
-  <method name="getDesktopList">
-    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-      <p>Get a list of accessible desktops.     </p>
-    </tp:docstring>
-    <arg direction="out" type="as" tp:type="DesktopSeq">
-    <tp:docstring>
-      A sequence containing references tothe Desktops.
-    </tp:docstring>
-    </arg>
-  </method>
-  <method name="getDeviceEventController">
-    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-      <p>Obtain an object which can be used to request device event notifications.    </p>
-    </tp:docstring>
-    <arg direction="out" type="o" tp:type="DeviceEventController">
-    <tp:docstring>
-      An object implementing DeviceEventController
+           Gets all the currently registered applications.
     </tp:docstring>
+    <arg direction="out" name="applications" type="as">
+       <tp:docstring>
+               A list of strings containing the D-Bus bus names of the applications.
+       </tp:docstring>
     </arg>
   </method>
 </interface>
index cf79a66..0000752 100644 (file)
                                </tp:docstring>
                        </arg>
                </signal>
+               <signal name="registerApplication">
+                       <tp:docstring>
+                               Register a new application with the accessibility registry.
+                       </tp:docstring>
+                       <arg direction="out" name="app" type="s" tp:type="Application">
+                               <tp:docstring>
+                                       D-Bus Bus name of the application that wishes to be made accessible.
+                               </tp:docstring>
+                       </arg>
+               </method>
+               <signal name="deregisterApplication">
+                       <tp:docstring>
+                               De-register an application from accessibility registry.
+                       </tp:docstring>
+                       <arg direction="out" name="app" type="s" tp:type="Application">
+                               <tp:docstring>
+                                       D-Bus Bus name of the application that wishes to be made accessible.
+                               </tp:docstring>
+                       </arg>
+               </method>
        </interface>
 </node>