summaryrefslogtreecommitdiffstats
path: root/accessible/interfaces/nsIAccessibleApplication.idl
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/interfaces/nsIAccessibleApplication.idl')
-rw-r--r--accessible/interfaces/nsIAccessibleApplication.idl34
1 files changed, 34 insertions, 0 deletions
diff --git a/accessible/interfaces/nsIAccessibleApplication.idl b/accessible/interfaces/nsIAccessibleApplication.idl
new file mode 100644
index 0000000000..6facf13375
--- /dev/null
+++ b/accessible/interfaces/nsIAccessibleApplication.idl
@@ -0,0 +1,34 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#include "nsISupports.idl"
+
+/**
+ * This interface is implemented by top level accessible object in hierarchy and
+ * provides information about application.
+ */
+[scriptable, builtinclass, uuid(79251626-387c-4531-89f3-680d31d6cf05)]
+interface nsIAccessibleApplication : nsISupports
+{
+ /**
+ * Returns the application name.
+ */
+ readonly attribute AString appName;
+
+ /**
+ * Returns the application version.
+ */
+ readonly attribute AString appVersion;
+
+ /**
+ * Returns the platform name.
+ */
+ readonly attribute AString platformName;
+
+ /**
+ * Returns the platform version.
+ */
+ readonly attribute AString platformVersion;
+};