michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim:expandtab:shiftwidth=2:tabstop=2: 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 IA2_ACCESSIBLE_COMPONENT_H_ michael@0: #define IA2_ACCESSIBLE_COMPONENT_H_ michael@0: michael@0: #include "AccessibleComponent.h" michael@0: michael@0: namespace mozilla { michael@0: namespace a11y { michael@0: michael@0: class ia2AccessibleComponent : public IAccessibleComponent michael@0: { michael@0: public: michael@0: michael@0: // IUnknown michael@0: STDMETHODIMP QueryInterface(REFIID, void**); michael@0: michael@0: // IAccessibleComponent michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_locationInParent( michael@0: /* [out] */ long *x, michael@0: /* [retval][out] */ long *y); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_foreground( michael@0: /* [retval][out] */ IA2Color *foreground); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_background( michael@0: /* [retval][out] */ IA2Color *background); michael@0: }; michael@0: michael@0: } // namespace a11y michael@0: } // namespace mozilla michael@0: michael@0: #endif