Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleStateChangeEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIAccessibleStateChangeEvent_h__
6 : #define __gen_nsIAccessibleStateChangeEvent_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: nsIAccessibleStateChangeEvent */
19 : #define NS_IACCESSIBLESTATECHANGEEVENT_IID_STR "58b74954-1835-46ed-9ccd-c906490106f6"
20 :
21 : #define NS_IACCESSIBLESTATECHANGEEVENT_IID \
22 : {0x58b74954, 0x1835, 0x46ed, \
23 : { 0x9c, 0xcd, 0xc9, 0x06, 0x49, 0x01, 0x06, 0xf6 }}
24 :
25 0 : class NS_NO_VTABLE nsIAccessibleStateChangeEvent : public nsIAccessibleEvent {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLESTATECHANGEEVENT_IID)
29 :
30 : /* readonly attribute unsigned long state; */
31 : NS_IMETHOD GetState(uint32_t *aState) = 0;
32 :
33 : /* readonly attribute boolean isExtraState; */
34 : NS_IMETHOD GetIsExtraState(bool *aIsExtraState) = 0;
35 :
36 : /* readonly attribute boolean isEnabled; */
37 : NS_IMETHOD GetIsEnabled(bool *aIsEnabled) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleStateChangeEvent, NS_IACCESSIBLESTATECHANGEEVENT_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIACCESSIBLESTATECHANGEEVENT \
45 : NS_IMETHOD GetState(uint32_t *aState) override; \
46 : NS_IMETHOD GetIsExtraState(bool *aIsExtraState) override; \
47 : NS_IMETHOD GetIsEnabled(bool *aIsEnabled) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLESTATECHANGEEVENT \
52 : nsresult GetState(uint32_t *aState); \
53 : nsresult GetIsExtraState(bool *aIsExtraState); \
54 : nsresult GetIsEnabled(bool *aIsEnabled);
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
57 : #define NS_FORWARD_NSIACCESSIBLESTATECHANGEEVENT(_to) \
58 : NS_IMETHOD GetState(uint32_t *aState) override { return _to GetState(aState); } \
59 : NS_IMETHOD GetIsExtraState(bool *aIsExtraState) override { return _to GetIsExtraState(aIsExtraState); } \
60 : NS_IMETHOD GetIsEnabled(bool *aIsEnabled) override { return _to GetIsEnabled(aIsEnabled); }
61 :
62 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
63 : #define NS_FORWARD_SAFE_NSIACCESSIBLESTATECHANGEEVENT(_to) \
64 : NS_IMETHOD GetState(uint32_t *aState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } \
65 : NS_IMETHOD GetIsExtraState(bool *aIsExtraState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsExtraState(aIsExtraState); } \
66 : NS_IMETHOD GetIsEnabled(bool *aIsEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsEnabled(aIsEnabled); }
67 :
68 : #if 0
69 : /* Use the code below as a template for the implementation class for this interface. */
70 :
71 : /* Header file */
72 : class nsAccessibleStateChangeEvent : public nsIAccessibleStateChangeEvent
73 : {
74 : public:
75 : NS_DECL_ISUPPORTS
76 : NS_DECL_NSIACCESSIBLESTATECHANGEEVENT
77 :
78 : nsAccessibleStateChangeEvent();
79 :
80 : private:
81 : ~nsAccessibleStateChangeEvent();
82 :
83 : protected:
84 : /* additional members */
85 : };
86 :
87 : /* Implementation file */
88 : NS_IMPL_ISUPPORTS(nsAccessibleStateChangeEvent, nsIAccessibleStateChangeEvent)
89 :
90 : nsAccessibleStateChangeEvent::nsAccessibleStateChangeEvent()
91 : {
92 : /* member initializers and constructor code */
93 : }
94 :
95 : nsAccessibleStateChangeEvent::~nsAccessibleStateChangeEvent()
96 : {
97 : /* destructor code */
98 : }
99 :
100 : /* readonly attribute unsigned long state; */
101 : NS_IMETHODIMP nsAccessibleStateChangeEvent::GetState(uint32_t *aState)
102 : {
103 : return NS_ERROR_NOT_IMPLEMENTED;
104 : }
105 :
106 : /* readonly attribute boolean isExtraState; */
107 : NS_IMETHODIMP nsAccessibleStateChangeEvent::GetIsExtraState(bool *aIsExtraState)
108 : {
109 : return NS_ERROR_NOT_IMPLEMENTED;
110 : }
111 :
112 : /* readonly attribute boolean isEnabled; */
113 : NS_IMETHODIMP nsAccessibleStateChangeEvent::GetIsEnabled(bool *aIsEnabled)
114 : {
115 : return NS_ERROR_NOT_IMPLEMENTED;
116 : }
117 :
118 : /* End of implementation class template. */
119 : #endif
120 :
121 :
122 : #endif /* __gen_nsIAccessibleStateChangeEvent_h__ */
|