accessible/src/windows/ia2/ia2AccessibleHyperlink.h

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:49265030ddfb
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
8 #ifndef _ACCESSIBLE_HYPERLINK_H
9 #define _ACCESSIBLE_HYPERLINK_H
10
11 #include "nsISupports.h"
12
13 #include "ia2AccessibleAction.h"
14 #include "AccessibleHyperlink.h"
15
16 namespace mozilla {
17 namespace a11y {
18
19 class ia2AccessibleHyperlink : public ia2AccessibleAction,
20 public IAccessibleHyperlink
21 {
22 public:
23
24 // IUnknown
25 STDMETHODIMP QueryInterface(REFIID, void**);
26
27 // IAccessibleAction
28 FORWARD_IACCESSIBLEACTION(ia2AccessibleAction)
29
30 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchor(
31 /* [in] */ long index,
32 /* [retval][out] */ VARIANT *anchor);
33
34 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchorTarget(
35 /* [in] */ long index,
36 /* [retval][out] */ VARIANT *anchorTarget);
37
38 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_startIndex(
39 /* [retval][out] */ long *index);
40
41 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_endIndex(
42 /* [retval][out] */ long *index);
43
44 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_valid(
45 /* [retval][out] */ boolean *valid);
46 };
47
48 } // namespace a11y
49 } // namespace mozilla
50
51 #endif

mercurial