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_HYPERTEXT_H michael@0: #define _ACCESSIBLE_HYPERTEXT_H michael@0: michael@0: #include "nsISupports.h" michael@0: michael@0: #include "ia2AccessibleText.h" michael@0: #include "AccessibleHypertext.h" michael@0: michael@0: namespace mozilla { michael@0: namespace a11y { michael@0: michael@0: class ia2AccessibleHypertext : public ia2AccessibleText, michael@0: public IAccessibleHypertext michael@0: { michael@0: public: michael@0: michael@0: // IAccessibleText michael@0: FORWARD_IACCESSIBLETEXT(ia2AccessibleText) michael@0: michael@0: // IAccessibleHypertext michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nHyperlinks( michael@0: /* [retval][out] */ long* hyperlinkCount); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlink( michael@0: /* [in] */ long index, michael@0: /* [retval][out] */ IAccessibleHyperlink** hyperlink); michael@0: michael@0: virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlinkIndex( michael@0: /* [in] */ long charIndex, michael@0: /* [retval][out] */ long* hyperlinkIndex); michael@0: }; michael@0: michael@0: } // namespace a11y michael@0: } // namespace mozilla michael@0: michael@0: #endif