ia2AccessibleHypertext.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* vim:expandtab:shiftwidth=2:tabstop=2:
  3. */
  4. /* This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  7. #ifndef _ACCESSIBLE_HYPERTEXT_H
  8. #define _ACCESSIBLE_HYPERTEXT_H
  9. #include "nsISupports.h"
  10. #include "ia2AccessibleText.h"
  11. #include "AccessibleHypertext.h"
  12. namespace mozilla {
  13. namespace a11y {
  14. class ia2AccessibleHypertext : public ia2AccessibleText,
  15. public IAccessibleHypertext
  16. {
  17. public:
  18. // IAccessibleText
  19. FORWARD_IACCESSIBLETEXT(ia2AccessibleText)
  20. // IAccessibleHypertext
  21. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nHyperlinks(
  22. /* [retval][out] */ long* hyperlinkCount);
  23. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlink(
  24. /* [in] */ long index,
  25. /* [retval][out] */ IAccessibleHyperlink** hyperlink);
  26. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlinkIndex(
  27. /* [in] */ long charIndex,
  28. /* [retval][out] */ long* hyperlinkIndex);
  29. };
  30. } // namespace a11y
  31. } // namespace mozilla
  32. #endif