2007-05-09 01:42:12 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim:expandtab:shiftwidth=2:tabstop=2:
|
|
|
|
*/
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-05-09 01:42:12 -07:00
|
|
|
|
|
|
|
#ifndef _ACCESSIBLE_IMAGE_H
|
|
|
|
#define _ACCESSIBLE_IMAGE_H
|
|
|
|
|
|
|
|
#include "AccessibleImage.h"
|
|
|
|
|
2013-05-04 22:38:14 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
|
|
|
|
2012-05-22 09:40:56 -07:00
|
|
|
class ia2AccessibleImage : public IAccessibleImage
|
2007-05-09 01:42:12 -07:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
// IUnknown
|
|
|
|
STDMETHODIMP QueryInterface(REFIID, void**);
|
|
|
|
|
|
|
|
// IAccessibleImage
|
|
|
|
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_description(
|
|
|
|
/* [retval][out] */ BSTR *description);
|
|
|
|
|
|
|
|
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imagePosition(
|
|
|
|
/* [in] */ enum IA2CoordinateType coordinateType,
|
|
|
|
/* [out] */ long *x,
|
|
|
|
/* [retval][out] */ long *y);
|
|
|
|
|
|
|
|
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imageSize(
|
|
|
|
/* [out] */ long *height,
|
|
|
|
/* [retval][out] */ long *width);
|
|
|
|
};
|
|
|
|
|
2013-05-04 22:38:14 -07:00
|
|
|
} // namespace a11y
|
|
|
|
} // namespace mozilla
|
2007-05-09 01:42:12 -07:00
|
|
|
|
2013-05-04 22:38:14 -07:00
|
|
|
#endif
|