1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/layout/inspector/public/inIDeepTreeWalker.idl
3 : */
4 :
5 : #ifndef __gen_inIDeepTreeWalker_h__
6 : #define __gen_inIDeepTreeWalker_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIDOMTreeWalker_h__
14 : #include "nsIDOMTreeWalker.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 : class nsIDOMNode; /* forward declaration */
22 :
23 :
24 : /* starting interface: inIDeepTreeWalker */
25 : #define INIDEEPTREEWALKER_IID_STR "91fca0e9-99d6-406b-9d78-4c96f11e9ee4"
26 :
27 : #define INIDEEPTREEWALKER_IID \
28 : {0x91fca0e9, 0x99d6, 0x406b, \
29 : { 0x9d, 0x78, 0x4c, 0x96, 0xf1, 0x1e, 0x9e, 0xe4 }}
30 :
31 0 : class NS_NO_VTABLE NS_SCRIPTABLE inIDeepTreeWalker : public nsIDOMTreeWalker {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(INIDEEPTREEWALKER_IID)
35 :
36 : /* attribute boolean showAnonymousContent; */
37 : NS_SCRIPTABLE NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent) = 0;
38 : NS_SCRIPTABLE NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent) = 0;
39 :
40 : /* attribute boolean showSubDocuments; */
41 : NS_SCRIPTABLE NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments) = 0;
42 : NS_SCRIPTABLE NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments) = 0;
43 :
44 : /* void init (in nsIDOMNode aRoot, in unsigned long aWhatToShow); */
45 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow) = 0;
46 :
47 : };
48 :
49 : NS_DEFINE_STATIC_IID_ACCESSOR(inIDeepTreeWalker, INIDEEPTREEWALKER_IID)
50 :
51 : /* Use this macro when declaring classes that implement this interface. */
52 : #define NS_DECL_INIDEEPTREEWALKER \
53 : NS_SCRIPTABLE NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent); \
54 : NS_SCRIPTABLE NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent); \
55 : NS_SCRIPTABLE NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments); \
56 : NS_SCRIPTABLE NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments); \
57 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow);
58 :
59 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
60 : #define NS_FORWARD_INIDEEPTREEWALKER(_to) \
61 : NS_SCRIPTABLE NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent) { return _to GetShowAnonymousContent(aShowAnonymousContent); } \
62 : NS_SCRIPTABLE NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent) { return _to SetShowAnonymousContent(aShowAnonymousContent); } \
63 : NS_SCRIPTABLE NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments) { return _to GetShowSubDocuments(aShowSubDocuments); } \
64 : NS_SCRIPTABLE NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments) { return _to SetShowSubDocuments(aShowSubDocuments); } \
65 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow) { return _to Init(aRoot, aWhatToShow); }
66 :
67 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
68 : #define NS_FORWARD_SAFE_INIDEEPTREEWALKER(_to) \
69 : NS_SCRIPTABLE NS_IMETHOD GetShowAnonymousContent(bool *aShowAnonymousContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowAnonymousContent(aShowAnonymousContent); } \
70 : NS_SCRIPTABLE NS_IMETHOD SetShowAnonymousContent(bool aShowAnonymousContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowAnonymousContent(aShowAnonymousContent); } \
71 : NS_SCRIPTABLE NS_IMETHOD GetShowSubDocuments(bool *aShowSubDocuments) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowSubDocuments(aShowSubDocuments); } \
72 : NS_SCRIPTABLE NS_IMETHOD SetShowSubDocuments(bool aShowSubDocuments) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowSubDocuments(aShowSubDocuments); } \
73 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aRoot, aWhatToShow); }
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 inDeepTreeWalker : public inIDeepTreeWalker
80 : {
81 : public:
82 : NS_DECL_ISUPPORTS
83 : NS_DECL_INIDEEPTREEWALKER
84 :
85 : inDeepTreeWalker();
86 :
87 : private:
88 : ~inDeepTreeWalker();
89 :
90 : protected:
91 : /* additional members */
92 : };
93 :
94 : /* Implementation file */
95 : NS_IMPL_ISUPPORTS1(inDeepTreeWalker, inIDeepTreeWalker)
96 :
97 : inDeepTreeWalker::inDeepTreeWalker()
98 : {
99 : /* member initializers and constructor code */
100 : }
101 :
102 : inDeepTreeWalker::~inDeepTreeWalker()
103 : {
104 : /* destructor code */
105 : }
106 :
107 : /* attribute boolean showAnonymousContent; */
108 : NS_IMETHODIMP inDeepTreeWalker::GetShowAnonymousContent(bool *aShowAnonymousContent)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 : NS_IMETHODIMP inDeepTreeWalker::SetShowAnonymousContent(bool aShowAnonymousContent)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* attribute boolean showSubDocuments; */
118 : NS_IMETHODIMP inDeepTreeWalker::GetShowSubDocuments(bool *aShowSubDocuments)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 : NS_IMETHODIMP inDeepTreeWalker::SetShowSubDocuments(bool aShowSubDocuments)
123 : {
124 : return NS_ERROR_NOT_IMPLEMENTED;
125 : }
126 :
127 : /* void init (in nsIDOMNode aRoot, in unsigned long aWhatToShow); */
128 : NS_IMETHODIMP inDeepTreeWalker::Init(nsIDOMNode *aRoot, PRUint32 aWhatToShow)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 :
133 : /* End of implementation class template. */
134 : #endif
135 :
136 :
137 : #endif /* __gen_inIDeepTreeWalker_h__ */
|