michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* vim:expandtab:shiftwidth=4:tabstop=4: michael@0: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_a11y_ApplicationAccessibleWrap_h__ michael@0: #define mozilla_a11y_ApplicationAccessibleWrap_h__ michael@0: michael@0: #include "ApplicationAccessible.h" michael@0: michael@0: #include "AccessibleApplication.h" michael@0: michael@0: namespace mozilla { michael@0: namespace a11y { michael@0: michael@0: class ApplicationAccessibleWrap: public ApplicationAccessible, michael@0: public IAccessibleApplication michael@0: { michael@0: public: michael@0: // nsISupporst michael@0: NS_DECL_ISUPPORTS_INHERITED michael@0: michael@0: // nsAccessible michael@0: virtual already_AddRefed NativeAttributes() MOZ_OVERRIDE; michael@0: michael@0: // IUnknown michael@0: STDMETHODIMP QueryInterface(REFIID, void**); michael@0: michael@0: // IAccessibleApplication michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_appName( michael@0: /* [retval][out] */ BSTR *name); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_appVersion( michael@0: /* [retval][out] */ BSTR *version); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_toolkitName( michael@0: /* [retval][out] */ BSTR *name); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_toolkitVersion( michael@0: /* [retval][out] */ BSTR *version); michael@0: michael@0: }; michael@0: michael@0: } // namespace a11y michael@0: } // namespace mozilla michael@0: michael@0: #endif michael@0: