Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLMetaElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLMetaElement_h__
6 : #define __gen_nsIDOMHTMLMetaElement_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMHTMLElement_h__
10 : #include "nsIDOMHTMLElement.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: nsIDOMHTMLMetaElement */
19 : #define NS_IDOMHTMLMETAELEMENT_IID_STR "2a3f789e-0667-464f-a8d7-6f58513443d9"
20 :
21 : #define NS_IDOMHTMLMETAELEMENT_IID \
22 : {0x2a3f789e, 0x0667, 0x464f, \
23 : { 0xa8, 0xd7, 0x6f, 0x58, 0x51, 0x34, 0x43, 0xd9 }}
24 :
25 2 : class NS_NO_VTABLE nsIDOMHTMLMetaElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMETAELEMENT_IID)
29 :
30 : /* attribute DOMString content; */
31 : NS_IMETHOD GetContent(nsAString & aContent) = 0;
32 : NS_IMETHOD SetContent(const nsAString & aContent) = 0;
33 :
34 : /* attribute DOMString httpEquiv; */
35 : NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) = 0;
36 : NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) = 0;
37 :
38 : /* attribute DOMString name; */
39 : NS_IMETHOD GetName(nsAString & aName) = 0;
40 : NS_IMETHOD SetName(const nsAString & aName) = 0;
41 :
42 : /* attribute DOMString scheme; */
43 : NS_IMETHOD GetScheme(nsAString & aScheme) = 0;
44 : NS_IMETHOD SetScheme(const nsAString & aScheme) = 0;
45 :
46 : };
47 :
48 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLMetaElement, NS_IDOMHTMLMETAELEMENT_IID)
49 :
50 : /* Use this macro when declaring classes that implement this interface. */
51 : #define NS_DECL_NSIDOMHTMLMETAELEMENT \
52 : NS_IMETHOD GetContent(nsAString & aContent) override; \
53 : NS_IMETHOD SetContent(const nsAString & aContent) override; \
54 : NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) override; \
55 : NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) override; \
56 : NS_IMETHOD GetName(nsAString & aName) override; \
57 : NS_IMETHOD SetName(const nsAString & aName) override; \
58 : NS_IMETHOD GetScheme(nsAString & aScheme) override; \
59 : NS_IMETHOD SetScheme(const nsAString & aScheme) override;
60 :
61 : /* Use this macro when declaring the members of this interface when the
62 : class doesn't implement the interface. This is useful for forwarding. */
63 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLMETAELEMENT \
64 : nsresult GetContent(nsAString & aContent); \
65 : nsresult SetContent(const nsAString & aContent); \
66 : nsresult GetHttpEquiv(nsAString & aHttpEquiv); \
67 : nsresult SetHttpEquiv(const nsAString & aHttpEquiv); \
68 : nsresult GetName(nsAString & aName); \
69 : nsresult SetName(const nsAString & aName); \
70 : nsresult GetScheme(nsAString & aScheme); \
71 : nsresult SetScheme(const nsAString & aScheme);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIDOMHTMLMETAELEMENT(_to) \
75 : NS_IMETHOD GetContent(nsAString & aContent) override { return _to GetContent(aContent); } \
76 : NS_IMETHOD SetContent(const nsAString & aContent) override { return _to SetContent(aContent); } \
77 : NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) override { return _to GetHttpEquiv(aHttpEquiv); } \
78 : NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) override { return _to SetHttpEquiv(aHttpEquiv); } \
79 : NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
80 : NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } \
81 : NS_IMETHOD GetScheme(nsAString & aScheme) override { return _to GetScheme(aScheme); } \
82 : NS_IMETHOD SetScheme(const nsAString & aScheme) override { return _to SetScheme(aScheme); }
83 :
84 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
85 : #define NS_FORWARD_SAFE_NSIDOMHTMLMETAELEMENT(_to) \
86 : NS_IMETHOD GetContent(nsAString & aContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(aContent); } \
87 : NS_IMETHOD SetContent(const nsAString & aContent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContent(aContent); } \
88 : NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHttpEquiv(aHttpEquiv); } \
89 : NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHttpEquiv(aHttpEquiv); } \
90 : NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
91 : NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
92 : NS_IMETHOD GetScheme(nsAString & aScheme) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScheme(aScheme); } \
93 : NS_IMETHOD SetScheme(const nsAString & aScheme) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScheme(aScheme); }
94 :
95 : #if 0
96 : /* Use the code below as a template for the implementation class for this interface. */
97 :
98 : /* Header file */
99 : class nsDOMHTMLMetaElement : public nsIDOMHTMLMetaElement
100 : {
101 : public:
102 : NS_DECL_ISUPPORTS
103 : NS_DECL_NSIDOMHTMLMETAELEMENT
104 :
105 : nsDOMHTMLMetaElement();
106 :
107 : private:
108 : ~nsDOMHTMLMetaElement();
109 :
110 : protected:
111 : /* additional members */
112 : };
113 :
114 : /* Implementation file */
115 : NS_IMPL_ISUPPORTS(nsDOMHTMLMetaElement, nsIDOMHTMLMetaElement)
116 :
117 : nsDOMHTMLMetaElement::nsDOMHTMLMetaElement()
118 : {
119 : /* member initializers and constructor code */
120 : }
121 :
122 : nsDOMHTMLMetaElement::~nsDOMHTMLMetaElement()
123 : {
124 : /* destructor code */
125 : }
126 :
127 : /* attribute DOMString content; */
128 : NS_IMETHODIMP nsDOMHTMLMetaElement::GetContent(nsAString & aContent)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 : NS_IMETHODIMP nsDOMHTMLMetaElement::SetContent(const nsAString & aContent)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* attribute DOMString httpEquiv; */
138 : NS_IMETHODIMP nsDOMHTMLMetaElement::GetHttpEquiv(nsAString & aHttpEquiv)
139 : {
140 : return NS_ERROR_NOT_IMPLEMENTED;
141 : }
142 : NS_IMETHODIMP nsDOMHTMLMetaElement::SetHttpEquiv(const nsAString & aHttpEquiv)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 :
147 : /* attribute DOMString name; */
148 : NS_IMETHODIMP nsDOMHTMLMetaElement::GetName(nsAString & aName)
149 : {
150 : return NS_ERROR_NOT_IMPLEMENTED;
151 : }
152 : NS_IMETHODIMP nsDOMHTMLMetaElement::SetName(const nsAString & aName)
153 : {
154 : return NS_ERROR_NOT_IMPLEMENTED;
155 : }
156 :
157 : /* attribute DOMString scheme; */
158 : NS_IMETHODIMP nsDOMHTMLMetaElement::GetScheme(nsAString & aScheme)
159 : {
160 : return NS_ERROR_NOT_IMPLEMENTED;
161 : }
162 : NS_IMETHODIMP nsDOMHTMLMetaElement::SetScheme(const nsAString & aScheme)
163 : {
164 : return NS_ERROR_NOT_IMPLEMENTED;
165 : }
166 :
167 : /* End of implementation class template. */
168 : #endif
169 :
170 :
171 : #endif /* __gen_nsIDOMHTMLMetaElement_h__ */
|