Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleTextChangeEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIAccessibleTextChangeEvent_h__
6 : #define __gen_nsIAccessibleTextChangeEvent_h__
7 :
8 :
9 : #ifndef __gen_nsIAccessibleEvent_h__
10 : #include "nsIAccessibleEvent.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 :
18 : /* starting interface: nsIAccessibleTextChangeEvent */
19 : #define NS_IACCESSIBLETEXTCHANGEEVENT_IID_STR "1fcc0dfa-93e6-48f4-bbd4-f80eb1d9f2e6"
20 :
21 : #define NS_IACCESSIBLETEXTCHANGEEVENT_IID \
22 : {0x1fcc0dfa, 0x93e6, 0x48f4, \
23 : { 0xbb, 0xd4, 0xf8, 0x0e, 0xb1, 0xd9, 0xf2, 0xe6 }}
24 :
25 0 : class NS_NO_VTABLE nsIAccessibleTextChangeEvent : public nsIAccessibleEvent {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETEXTCHANGEEVENT_IID)
29 :
30 : /* readonly attribute long start; */
31 : NS_IMETHOD GetStart(int32_t *aStart) = 0;
32 :
33 : /* readonly attribute unsigned long length; */
34 : NS_IMETHOD GetLength(uint32_t *aLength) = 0;
35 :
36 : /* readonly attribute boolean isInserted; */
37 : NS_IMETHOD GetIsInserted(bool *aIsInserted) = 0;
38 :
39 : /* readonly attribute DOMString modifiedText; */
40 : NS_IMETHOD GetModifiedText(nsAString & aModifiedText) = 0;
41 :
42 : };
43 :
44 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTextChangeEvent, NS_IACCESSIBLETEXTCHANGEEVENT_IID)
45 :
46 : /* Use this macro when declaring classes that implement this interface. */
47 : #define NS_DECL_NSIACCESSIBLETEXTCHANGEEVENT \
48 : NS_IMETHOD GetStart(int32_t *aStart) override; \
49 : NS_IMETHOD GetLength(uint32_t *aLength) override; \
50 : NS_IMETHOD GetIsInserted(bool *aIsInserted) override; \
51 : NS_IMETHOD GetModifiedText(nsAString & aModifiedText) override;
52 :
53 : /* Use this macro when declaring the members of this interface when the
54 : class doesn't implement the interface. This is useful for forwarding. */
55 : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLETEXTCHANGEEVENT \
56 : nsresult GetStart(int32_t *aStart); \
57 : nsresult GetLength(uint32_t *aLength); \
58 : nsresult GetIsInserted(bool *aIsInserted); \
59 : nsresult GetModifiedText(nsAString & aModifiedText);
60 :
61 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
62 : #define NS_FORWARD_NSIACCESSIBLETEXTCHANGEEVENT(_to) \
63 : NS_IMETHOD GetStart(int32_t *aStart) override { return _to GetStart(aStart); } \
64 : NS_IMETHOD GetLength(uint32_t *aLength) override { return _to GetLength(aLength); } \
65 : NS_IMETHOD GetIsInserted(bool *aIsInserted) override { return _to GetIsInserted(aIsInserted); } \
66 : NS_IMETHOD GetModifiedText(nsAString & aModifiedText) override { return _to GetModifiedText(aModifiedText); }
67 :
68 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
69 : #define NS_FORWARD_SAFE_NSIACCESSIBLETEXTCHANGEEVENT(_to) \
70 : NS_IMETHOD GetStart(int32_t *aStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStart(aStart); } \
71 : NS_IMETHOD GetLength(uint32_t *aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
72 : NS_IMETHOD GetIsInserted(bool *aIsInserted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsInserted(aIsInserted); } \
73 : NS_IMETHOD GetModifiedText(nsAString & aModifiedText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetModifiedText(aModifiedText); }
74 :
75 : #if 0
76 : /* Use the code below as a template for the implementation class for this interface. */
77 :
78 : /* Header file */
79 : class nsAccessibleTextChangeEvent : public nsIAccessibleTextChangeEvent
80 : {
81 : public:
82 : NS_DECL_ISUPPORTS
83 : NS_DECL_NSIACCESSIBLETEXTCHANGEEVENT
84 :
85 : nsAccessibleTextChangeEvent();
86 :
87 : private:
88 : ~nsAccessibleTextChangeEvent();
89 :
90 : protected:
91 : /* additional members */
92 : };
93 :
94 : /* Implementation file */
95 : NS_IMPL_ISUPPORTS(nsAccessibleTextChangeEvent, nsIAccessibleTextChangeEvent)
96 :
97 : nsAccessibleTextChangeEvent::nsAccessibleTextChangeEvent()
98 : {
99 : /* member initializers and constructor code */
100 : }
101 :
102 : nsAccessibleTextChangeEvent::~nsAccessibleTextChangeEvent()
103 : {
104 : /* destructor code */
105 : }
106 :
107 : /* readonly attribute long start; */
108 : NS_IMETHODIMP nsAccessibleTextChangeEvent::GetStart(int32_t *aStart)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* readonly attribute unsigned long length; */
114 : NS_IMETHODIMP nsAccessibleTextChangeEvent::GetLength(uint32_t *aLength)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* readonly attribute boolean isInserted; */
120 : NS_IMETHODIMP nsAccessibleTextChangeEvent::GetIsInserted(bool *aIsInserted)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* readonly attribute DOMString modifiedText; */
126 : NS_IMETHODIMP nsAccessibleTextChangeEvent::GetModifiedText(nsAString & aModifiedText)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* End of implementation class template. */
132 : #endif
133 :
134 :
135 : #endif /* __gen_nsIAccessibleTextChangeEvent_h__ */
|