1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/accessible/src/windows/ia2/ia2AccessibleHyperlink.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,51 @@ 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_HYPERLINK_H 1.12 +#define _ACCESSIBLE_HYPERLINK_H 1.13 + 1.14 +#include "nsISupports.h" 1.15 + 1.16 +#include "ia2AccessibleAction.h" 1.17 +#include "AccessibleHyperlink.h" 1.18 + 1.19 +namespace mozilla { 1.20 +namespace a11y { 1.21 + 1.22 +class ia2AccessibleHyperlink : public ia2AccessibleAction, 1.23 + public IAccessibleHyperlink 1.24 +{ 1.25 +public: 1.26 + 1.27 + // IUnknown 1.28 + STDMETHODIMP QueryInterface(REFIID, void**); 1.29 + 1.30 + // IAccessibleAction 1.31 + FORWARD_IACCESSIBLEACTION(ia2AccessibleAction) 1.32 + 1.33 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchor( 1.34 + /* [in] */ long index, 1.35 + /* [retval][out] */ VARIANT *anchor); 1.36 + 1.37 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchorTarget( 1.38 + /* [in] */ long index, 1.39 + /* [retval][out] */ VARIANT *anchorTarget); 1.40 + 1.41 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_startIndex( 1.42 + /* [retval][out] */ long *index); 1.43 + 1.44 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_endIndex( 1.45 + /* [retval][out] */ long *index); 1.46 + 1.47 + virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_valid( 1.48 + /* [retval][out] */ boolean *valid); 1.49 +}; 1.50 + 1.51 +} // namespace a11y 1.52 +} // namespace mozilla 1.53 + 1.54 +#endif