accessible/src/windows/ia2/ia2AccessibleEditableText.h

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:c8f247ad608d
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_EDITABLETEXT_H
9 #define _ACCESSIBLE_EDITABLETEXT_H
10
11 #include "nsISupports.h"
12 #include "nsIAccessibleEditableText.h"
13
14 #include "AccessibleEditableText.h"
15
16 namespace mozilla {
17 namespace a11y {
18
19 class ia2AccessibleEditableText: public IAccessibleEditableText
20 {
21 public:
22
23 // IAccessibleEditableText
24 virtual HRESULT STDMETHODCALLTYPE copyText(
25 /* [in] */ long startOffset,
26 /* [in] */ long endOffset);
27
28 virtual HRESULT STDMETHODCALLTYPE deleteText(
29 /* [in] */ long startOffset,
30 /* [in] */ long endOffset);
31
32 virtual HRESULT STDMETHODCALLTYPE insertText(
33 /* [in] */ long offset,
34 /* [in] */ BSTR *text);
35
36 virtual HRESULT STDMETHODCALLTYPE cutText(
37 /* [in] */ long startOffset,
38 /* [in] */ long endOffset);
39
40 virtual HRESULT STDMETHODCALLTYPE pasteText(
41 /* [in] */ long offset);
42
43 virtual HRESULT STDMETHODCALLTYPE replaceText(
44 /* [in] */ long startOffset,
45 /* [in] */ long endOffset,
46 /* [in] */ BSTR *text);
47
48 virtual HRESULT STDMETHODCALLTYPE setAttributes(
49 /* [in] */ long startOffset,
50 /* [in] */ long endOffset,
51 /* [in] */ BSTR *attributes);
52 };
53
54 } // namespace a11y
55 } // namespace mozilla
56
57 #endif

mercurial