2007-03-22 10:30:00 -07:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
|
|
|
* File Name (AccessibleApplication.idl)
|
|
|
|
*
|
|
|
|
* IAccessible2 IDL Specification
|
|
|
|
*
|
2009-09-10 18:07:56 -07:00
|
|
|
* Copyright (c) Linux Foundation 2007, 2008
|
|
|
|
* Copyright (c) IBM Corp. 2006
|
2007-03-22 10:30:00 -07:00
|
|
|
* Copyright (c) Sun Microsystems, Inc. 2000, 2006
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
import "objidl.idl";
|
|
|
|
import "oaidl.idl";
|
|
|
|
import "oleacc.idl";
|
|
|
|
|
|
|
|
/** @brief This interface gives access to the application's name and version information.
|
|
|
|
|
|
|
|
This interface provides the AT with the information it needs to differentiate
|
|
|
|
this application from other applications, from other versions of this
|
|
|
|
application, or from other versions of this application running on different
|
2009-07-27 01:47:02 -07:00
|
|
|
versions of an accessibility bridge or accessibility toolkit.
|
2009-09-10 18:07:56 -07:00
|
|
|
|
|
|
|
Servers implementing IAccessible2 should provide access to the %IAccessibleApplication
|
|
|
|
interface via QueryService from any object so that ATs can easily determine specific
|
|
|
|
information about the application such as its name or version.
|
2007-03-22 10:30:00 -07:00
|
|
|
*/
|
|
|
|
[object, uuid(D49DED83-5B25-43F4-9B95-93B44595979E)]
|
|
|
|
interface IAccessibleApplication : IUnknown
|
|
|
|
{
|
|
|
|
|
|
|
|
/** @brief Returns the application name.
|
|
|
|
@param [out] name
|
2009-09-10 18:07:56 -07:00
|
|
|
@retval S_OK
|
|
|
|
@retval S_FALSE if there is nothing to return, [out] value is NULL
|
2007-03-22 10:30:00 -07:00
|
|
|
*/
|
|
|
|
[propget] HRESULT appName
|
|
|
|
(
|
|
|
|
[out, retval] BSTR *name
|
|
|
|
);
|
|
|
|
|
|
|
|
/** @brief Returns the application version.
|
|
|
|
@param [out] version
|
2009-09-10 18:07:56 -07:00
|
|
|
@retval S_OK
|
|
|
|
@retval S_FALSE if there is nothing to return, [out] value is NULL
|
2007-03-22 10:30:00 -07:00
|
|
|
*/
|
|
|
|
[propget] HRESULT appVersion
|
|
|
|
(
|
|
|
|
[out, retval] BSTR *version
|
|
|
|
);
|
|
|
|
|
|
|
|
/** @brief Returns the toolkit/bridge name.
|
|
|
|
@param [out] name
|
2009-09-10 18:07:56 -07:00
|
|
|
@retval S_OK
|
|
|
|
@retval S_FALSE if there is nothing to return, [out] value is NULL
|
2007-03-22 10:30:00 -07:00
|
|
|
*/
|
|
|
|
[propget] HRESULT toolkitName
|
|
|
|
(
|
|
|
|
[out, retval] BSTR *name
|
|
|
|
);
|
|
|
|
|
|
|
|
/** @brief Returns the toolkit/bridge version.
|
|
|
|
@param [out] version
|
2009-09-10 18:07:56 -07:00
|
|
|
@retval S_OK
|
|
|
|
@retval S_FALSE if there is nothing to return, [out] value is NULL
|
2007-03-22 10:30:00 -07:00
|
|
|
*/
|
|
|
|
[propget] HRESULT toolkitVersion
|
|
|
|
(
|
|
|
|
[out, retval] BSTR *version
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|