1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/accessible/src/windows/ia2/ia2AccessibleImage.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* vim:expandtab:shiftwidth=2:tabstop=2: 1.6 + */ 1.7 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.8 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.9 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.10 + 1.11 +#ifndef _ACCESSIBLE_IMAGE_H 1.12 +#define _ACCESSIBLE_IMAGE_H 1.13 + 1.14 +#include "AccessibleImage.h" 1.15 + 1.16 +namespace mozilla { 1.17 +namespace a11y { 1.18 + 1.19 +class ia2AccessibleImage : public IAccessibleImage 1.20 +{ 1.21 +public: 1.22 + 1.23 + // IUnknown 1.24 + STDMETHODIMP QueryInterface(REFIID, void**); 1.25 + 1.26 + // IAccessibleImage 1.27 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_description( 1.28 + /* [retval][out] */ BSTR *description); 1.29 + 1.30 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imagePosition( 1.31 + /* [in] */ enum IA2CoordinateType coordinateType, 1.32 + /* [out] */ long *x, 1.33 + /* [retval][out] */ long *y); 1.34 + 1.35 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imageSize( 1.36 + /* [out] */ long *height, 1.37 + /* [retval][out] */ long *width); 1.38 +}; 1.39 + 1.40 +} // namespace a11y 1.41 +} // namespace mozilla 1.42 + 1.43 +#endif