Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsILoadGroupChild.idl
3 : */
4 :
5 : #ifndef __gen_nsILoadGroupChild_h__
6 : #define __gen_nsILoadGroupChild_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.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 : class nsILoadGroup; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsILoadGroupChild */
21 : #define NS_ILOADGROUPCHILD_IID_STR "02efe8e2-fbbc-4718-a299-b8a09c60bf6b"
22 :
23 : #define NS_ILOADGROUPCHILD_IID \
24 : {0x02efe8e2, 0xfbbc, 0x4718, \
25 : { 0xa2, 0x99, 0xb8, 0xa0, 0x9c, 0x60, 0xbf, 0x6b }}
26 :
27 72 : class NS_NO_VTABLE nsILoadGroupChild : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOADGROUPCHILD_IID)
31 :
32 : /* attribute nsILoadGroup parentLoadGroup; */
33 : NS_IMETHOD GetParentLoadGroup(nsILoadGroup * *aParentLoadGroup) = 0;
34 : NS_IMETHOD SetParentLoadGroup(nsILoadGroup *aParentLoadGroup) = 0;
35 :
36 : /* readonly attribute nsILoadGroup childLoadGroup; */
37 : NS_IMETHOD GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup) = 0;
38 :
39 : /* readonly attribute nsILoadGroup rootLoadGroup; */
40 : NS_IMETHOD GetRootLoadGroup(nsILoadGroup * *aRootLoadGroup) = 0;
41 :
42 : };
43 :
44 : NS_DEFINE_STATIC_IID_ACCESSOR(nsILoadGroupChild, NS_ILOADGROUPCHILD_IID)
45 :
46 : /* Use this macro when declaring classes that implement this interface. */
47 : #define NS_DECL_NSILOADGROUPCHILD \
48 : NS_IMETHOD GetParentLoadGroup(nsILoadGroup * *aParentLoadGroup) override; \
49 : NS_IMETHOD SetParentLoadGroup(nsILoadGroup *aParentLoadGroup) override; \
50 : NS_IMETHOD GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup) override; \
51 : NS_IMETHOD GetRootLoadGroup(nsILoadGroup * *aRootLoadGroup) 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_NSILOADGROUPCHILD \
56 : nsresult GetParentLoadGroup(nsILoadGroup * *aParentLoadGroup); \
57 : nsresult SetParentLoadGroup(nsILoadGroup *aParentLoadGroup); \
58 : nsresult GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup); \
59 : nsresult GetRootLoadGroup(nsILoadGroup * *aRootLoadGroup);
60 :
61 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
62 : #define NS_FORWARD_NSILOADGROUPCHILD(_to) \
63 : NS_IMETHOD GetParentLoadGroup(nsILoadGroup * *aParentLoadGroup) override { return _to GetParentLoadGroup(aParentLoadGroup); } \
64 : NS_IMETHOD SetParentLoadGroup(nsILoadGroup *aParentLoadGroup) override { return _to SetParentLoadGroup(aParentLoadGroup); } \
65 : NS_IMETHOD GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup) override { return _to GetChildLoadGroup(aChildLoadGroup); } \
66 : NS_IMETHOD GetRootLoadGroup(nsILoadGroup * *aRootLoadGroup) override { return _to GetRootLoadGroup(aRootLoadGroup); }
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_NSILOADGROUPCHILD(_to) \
70 : NS_IMETHOD GetParentLoadGroup(nsILoadGroup * *aParentLoadGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentLoadGroup(aParentLoadGroup); } \
71 : NS_IMETHOD SetParentLoadGroup(nsILoadGroup *aParentLoadGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParentLoadGroup(aParentLoadGroup); } \
72 : NS_IMETHOD GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildLoadGroup(aChildLoadGroup); } \
73 : NS_IMETHOD GetRootLoadGroup(nsILoadGroup * *aRootLoadGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootLoadGroup(aRootLoadGroup); }
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 nsLoadGroupChild : public nsILoadGroupChild
80 : {
81 : public:
82 : NS_DECL_ISUPPORTS
83 : NS_DECL_NSILOADGROUPCHILD
84 :
85 : nsLoadGroupChild();
86 :
87 : private:
88 : ~nsLoadGroupChild();
89 :
90 : protected:
91 : /* additional members */
92 : };
93 :
94 : /* Implementation file */
95 : NS_IMPL_ISUPPORTS(nsLoadGroupChild, nsILoadGroupChild)
96 :
97 : nsLoadGroupChild::nsLoadGroupChild()
98 : {
99 : /* member initializers and constructor code */
100 : }
101 :
102 : nsLoadGroupChild::~nsLoadGroupChild()
103 : {
104 : /* destructor code */
105 : }
106 :
107 : /* attribute nsILoadGroup parentLoadGroup; */
108 : NS_IMETHODIMP nsLoadGroupChild::GetParentLoadGroup(nsILoadGroup * *aParentLoadGroup)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 : NS_IMETHODIMP nsLoadGroupChild::SetParentLoadGroup(nsILoadGroup *aParentLoadGroup)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* readonly attribute nsILoadGroup childLoadGroup; */
118 : NS_IMETHODIMP nsLoadGroupChild::GetChildLoadGroup(nsILoadGroup * *aChildLoadGroup)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* readonly attribute nsILoadGroup rootLoadGroup; */
124 : NS_IMETHODIMP nsLoadGroupChild::GetRootLoadGroup(nsILoadGroup * *aRootLoadGroup)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 :
129 : /* End of implementation class template. */
130 : #endif
131 :
132 :
133 : #endif /* __gen_nsILoadGroupChild_h__ */
|