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 _ACCESSIBLE_IMAGE_H michael@0: #define _ACCESSIBLE_IMAGE_H michael@0: michael@0: #include "AccessibleImage.h" michael@0: michael@0: namespace mozilla { michael@0: namespace a11y { michael@0: michael@0: class ia2AccessibleImage : public IAccessibleImage michael@0: { michael@0: public: michael@0: michael@0: // IUnknown michael@0: STDMETHODIMP QueryInterface(REFIID, void**); michael@0: michael@0: // IAccessibleImage michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_description( michael@0: /* [retval][out] */ BSTR *description); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imagePosition( michael@0: /* [in] */ enum IA2CoordinateType coordinateType, michael@0: /* [out] */ long *x, michael@0: /* [retval][out] */ long *y); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imageSize( michael@0: /* [out] */ long *height, michael@0: /* [retval][out] */ long *width); michael@0: }; michael@0: michael@0: } // namespace a11y michael@0: } // namespace mozilla michael@0: michael@0: #endif