Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleHideEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIAccessibleHideEvent_h__
6 : #define __gen_nsIAccessibleHideEvent_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: nsIAccessibleHideEvent */
19 : #define NS_IACCESSIBLEHIDEEVENT_IID_STR "2051709a-4e0d-4be5-873d-b49d1dee35fa"
20 :
21 : #define NS_IACCESSIBLEHIDEEVENT_IID \
22 : {0x2051709a, 0x4e0d, 0x4be5, \
23 : { 0x87, 0x3d, 0xb4, 0x9d, 0x1d, 0xee, 0x35, 0xfa }}
24 :
25 0 : class NS_NO_VTABLE nsIAccessibleHideEvent : public nsIAccessibleEvent {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEHIDEEVENT_IID)
29 :
30 : /* readonly attribute nsIAccessible targetParent; */
31 : NS_IMETHOD GetTargetParent(nsIAccessible * *aTargetParent) = 0;
32 :
33 : /* readonly attribute nsIAccessible targetNextSibling; */
34 : NS_IMETHOD GetTargetNextSibling(nsIAccessible * *aTargetNextSibling) = 0;
35 :
36 : /* readonly attribute nsIAccessible targetPrevSibling; */
37 : NS_IMETHOD GetTargetPrevSibling(nsIAccessible * *aTargetPrevSibling) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleHideEvent, NS_IACCESSIBLEHIDEEVENT_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIACCESSIBLEHIDEEVENT \
45 : NS_IMETHOD GetTargetParent(nsIAccessible * *aTargetParent) override; \
46 : NS_IMETHOD GetTargetNextSibling(nsIAccessible * *aTargetNextSibling) override; \
47 : NS_IMETHOD GetTargetPrevSibling(nsIAccessible * *aTargetPrevSibling) 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_NSIACCESSIBLEHIDEEVENT \
52 : nsresult GetTargetParent(nsIAccessible * *aTargetParent); \
53 : nsresult GetTargetNextSibling(nsIAccessible * *aTargetNextSibling); \
54 : nsresult GetTargetPrevSibling(nsIAccessible * *aTargetPrevSibling);
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
57 : #define NS_FORWARD_NSIACCESSIBLEHIDEEVENT(_to) \
58 : NS_IMETHOD GetTargetParent(nsIAccessible * *aTargetParent) override { return _to GetTargetParent(aTargetParent); } \
59 : NS_IMETHOD GetTargetNextSibling(nsIAccessible * *aTargetNextSibling) override { return _to GetTargetNextSibling(aTargetNextSibling); } \
60 : NS_IMETHOD GetTargetPrevSibling(nsIAccessible * *aTargetPrevSibling) override { return _to GetTargetPrevSibling(aTargetPrevSibling); }
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_NSIACCESSIBLEHIDEEVENT(_to) \
64 : NS_IMETHOD GetTargetParent(nsIAccessible * *aTargetParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetParent(aTargetParent); } \
65 : NS_IMETHOD GetTargetNextSibling(nsIAccessible * *aTargetNextSibling) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetNextSibling(aTargetNextSibling); } \
66 : NS_IMETHOD GetTargetPrevSibling(nsIAccessible * *aTargetPrevSibling) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetPrevSibling(aTargetPrevSibling); }
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 nsAccessibleHideEvent : public nsIAccessibleHideEvent
73 : {
74 : public:
75 : NS_DECL_ISUPPORTS
76 : NS_DECL_NSIACCESSIBLEHIDEEVENT
77 :
78 : nsAccessibleHideEvent();
79 :
80 : private:
81 : ~nsAccessibleHideEvent();
82 :
83 : protected:
84 : /* additional members */
85 : };
86 :
87 : /* Implementation file */
88 : NS_IMPL_ISUPPORTS(nsAccessibleHideEvent, nsIAccessibleHideEvent)
89 :
90 : nsAccessibleHideEvent::nsAccessibleHideEvent()
91 : {
92 : /* member initializers and constructor code */
93 : }
94 :
95 : nsAccessibleHideEvent::~nsAccessibleHideEvent()
96 : {
97 : /* destructor code */
98 : }
99 :
100 : /* readonly attribute nsIAccessible targetParent; */
101 : NS_IMETHODIMP nsAccessibleHideEvent::GetTargetParent(nsIAccessible * *aTargetParent)
102 : {
103 : return NS_ERROR_NOT_IMPLEMENTED;
104 : }
105 :
106 : /* readonly attribute nsIAccessible targetNextSibling; */
107 : NS_IMETHODIMP nsAccessibleHideEvent::GetTargetNextSibling(nsIAccessible * *aTargetNextSibling)
108 : {
109 : return NS_ERROR_NOT_IMPLEMENTED;
110 : }
111 :
112 : /* readonly attribute nsIAccessible targetPrevSibling; */
113 : NS_IMETHODIMP nsAccessibleHideEvent::GetTargetPrevSibling(nsIAccessible * *aTargetPrevSibling)
114 : {
115 : return NS_ERROR_NOT_IMPLEMENTED;
116 : }
117 :
118 : /* End of implementation class template. */
119 : #endif
120 :
121 :
122 : #endif /* __gen_nsIAccessibleHideEvent_h__ */
|