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_HYPERLINK_H michael@0: #define _ACCESSIBLE_HYPERLINK_H michael@0: michael@0: #include "nsISupports.h" michael@0: michael@0: #include "ia2AccessibleAction.h" michael@0: #include "AccessibleHyperlink.h" michael@0: michael@0: namespace mozilla { michael@0: namespace a11y { michael@0: michael@0: class ia2AccessibleHyperlink : public ia2AccessibleAction, michael@0: public IAccessibleHyperlink michael@0: { michael@0: public: michael@0: michael@0: // IUnknown michael@0: STDMETHODIMP QueryInterface(REFIID, void**); michael@0: michael@0: // IAccessibleAction michael@0: FORWARD_IACCESSIBLEACTION(ia2AccessibleAction) michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchor( michael@0: /* [in] */ long index, michael@0: /* [retval][out] */ VARIANT *anchor); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchorTarget( michael@0: /* [in] */ long index, michael@0: /* [retval][out] */ VARIANT *anchorTarget); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_startIndex( michael@0: /* [retval][out] */ long *index); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_endIndex( michael@0: /* [retval][out] */ long *index); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_valid( michael@0: /* [retval][out] */ boolean *valid); michael@0: }; michael@0: michael@0: } // namespace a11y michael@0: } // namespace mozilla michael@0: michael@0: #endif