accessible/src/windows/ia2/ia2AccessibleHypertext.h
author Alexander Surkov <surkov.alexander@gmail.com>
Sun, 05 May 2013 14:38:14 +0900
changeset 130872 8eccffccac1cabed4a760a5651265445ef527e1c
parent 109383 e8f535c751d1d9b0a96e45a037faeacaddef0bc5
permissions -rw-r--r--
Bug 865559 - get rid of nsAccessNodeWrap, r=tbsaunde

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:expandtab:shiftwidth=2:tabstop=2:
 */
/* 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/. */

#ifndef _ACCESSIBLE_HYPERTEXT_H
#define _ACCESSIBLE_HYPERTEXT_H

#include "nsISupports.h"

#include "ia2AccessibleText.h"
#include "AccessibleHypertext.h"

namespace mozilla {
namespace a11y {

class ia2AccessibleHypertext : public ia2AccessibleText,
                               public IAccessibleHypertext
{
public:

  // IAccessibleText
  FORWARD_IACCESSIBLETEXT(ia2AccessibleText)

  // IAccessibleHypertext
  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nHyperlinks(
      /* [retval][out] */ long* hyperlinkCount);

  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlink(
      /* [in] */ long index,
      /* [retval][out] */ IAccessibleHyperlink** hyperlink);

  virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlinkIndex(
      /* [in] */ long charIndex,
      /* [retval][out] */ long* hyperlinkIndex);
};

} // namespace a11y
} // namespace mozilla

#endif