2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
[platform/core/uifw/at-spi2-atk.git] / idl / Accessibility_Application.idl
index b921af6..33b4998 100644 (file)
 #define __ACCESSIBILITY_APPLICATION_DEFINED__
 
 #include <Bonobo_Unknown.idl>
-#include <Accessible.idl>
+#include <Accessibility_Accessible.idl>
 
 module Accessibility {
+
+  enum LOCALE_TYPE {
+      LOCALE_TYPE_MESSAGES,
+      LOCALE_TYPE_COLLATE,
+      LOCALE_TYPE_CTYPE,
+      LOCALE_TYPE_MONETARY,
+      LOCALE_TYPE_NUMERIC,
+      LOCALE_TYPE_TIME
+  };
+
   interface Application : Accessible {
 
     /**
@@ -99,6 +109,21 @@ module Accessibility {
      * Returns: %true if the request succeeded, %false otherwise.
      **/
     boolean       resume ();
+
+     /**
+     * getLocale:
+     *
+     * @lctype: the LocaleType for which the locale is queried.
+     * Gets the locale in which the application is currently operating.
+     * For the current message locale, use @lctype LOCALE_TYPE_MESSAGES.
+     *
+     * Returns: a string compliant with the POSIX standard for locale description.
+     **/
+    string       getLocale (in LOCALE_TYPE lctype);
+
+    void          unImplemented_ ();
+    void          unImplemented2_ ();
+    void          unImplemented3_ ();
   };
 };