PageRenderTime 194ms CodeModel.GetById 100ms app.highlight 5ms RepoModel.GetById 86ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLMetaElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 168 lines | 104 code | 32 blank | 32 comment | 0 complexity | 0dca5084fc755e16ba05a4b81c0e77c0 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/html/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 "a6cf908a-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLMETAELEMENT_IID \
 22  {0xa6cf908a, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLMetaElement interface is the interface to a [X]HTML
 27 * meta element.
 28 *
 29 * For more information on this interface please see
 30 * http://www.w3.org/TR/DOM-Level-2-HTML/
 31 *
 32 * @status FROZEN
 33 */
 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLMetaElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMETAELEMENT_IID)
 38
 39  /* attribute DOMString content; */
 40  NS_SCRIPTABLE NS_IMETHOD GetContent(nsAString & aContent) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetContent(const nsAString & aContent) = 0;
 42
 43  /* attribute DOMString httpEquiv; */
 44  NS_SCRIPTABLE NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) = 0;
 46
 47  /* attribute DOMString name; */
 48  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
 50
 51  /* attribute DOMString scheme; */
 52  NS_SCRIPTABLE NS_IMETHOD GetScheme(nsAString & aScheme) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetScheme(const nsAString & aScheme) = 0;
 54
 55};
 56
 57  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLMetaElement, NS_IDOMHTMLMETAELEMENT_IID)
 58
 59/* Use this macro when declaring classes that implement this interface. */
 60#define NS_DECL_NSIDOMHTMLMETAELEMENT \
 61  NS_SCRIPTABLE NS_IMETHOD GetContent(nsAString & aContent); \
 62  NS_SCRIPTABLE NS_IMETHOD SetContent(const nsAString & aContent); \
 63  NS_SCRIPTABLE NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv); \
 64  NS_SCRIPTABLE NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv); \
 65  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
 66  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
 67  NS_SCRIPTABLE NS_IMETHOD GetScheme(nsAString & aScheme); \
 68  NS_SCRIPTABLE NS_IMETHOD SetScheme(const nsAString & aScheme); 
 69
 70/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 71#define NS_FORWARD_NSIDOMHTMLMETAELEMENT(_to) \
 72  NS_SCRIPTABLE NS_IMETHOD GetContent(nsAString & aContent) { return _to GetContent(aContent); } \
 73  NS_SCRIPTABLE NS_IMETHOD SetContent(const nsAString & aContent) { return _to SetContent(aContent); } \
 74  NS_SCRIPTABLE NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) { return _to GetHttpEquiv(aHttpEquiv); } \
 75  NS_SCRIPTABLE NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) { return _to SetHttpEquiv(aHttpEquiv); } \
 76  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
 77  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
 78  NS_SCRIPTABLE NS_IMETHOD GetScheme(nsAString & aScheme) { return _to GetScheme(aScheme); } \
 79  NS_SCRIPTABLE NS_IMETHOD SetScheme(const nsAString & aScheme) { return _to SetScheme(aScheme); } 
 80
 81/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 82#define NS_FORWARD_SAFE_NSIDOMHTMLMETAELEMENT(_to) \
 83  NS_SCRIPTABLE NS_IMETHOD GetContent(nsAString & aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(aContent); } \
 84  NS_SCRIPTABLE NS_IMETHOD SetContent(const nsAString & aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContent(aContent); } \
 85  NS_SCRIPTABLE NS_IMETHOD GetHttpEquiv(nsAString & aHttpEquiv) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHttpEquiv(aHttpEquiv); } \
 86  NS_SCRIPTABLE NS_IMETHOD SetHttpEquiv(const nsAString & aHttpEquiv) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHttpEquiv(aHttpEquiv); } \
 87  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
 88  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
 89  NS_SCRIPTABLE NS_IMETHOD GetScheme(nsAString & aScheme) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScheme(aScheme); } \
 90  NS_SCRIPTABLE NS_IMETHOD SetScheme(const nsAString & aScheme) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScheme(aScheme); } 
 91
 92#if 0
 93/* Use the code below as a template for the implementation class for this interface. */
 94
 95/* Header file */
 96class nsDOMHTMLMetaElement : public nsIDOMHTMLMetaElement
 97{
 98public:
 99  NS_DECL_ISUPPORTS
100  NS_DECL_NSIDOMHTMLMETAELEMENT
101
102  nsDOMHTMLMetaElement();
103
104private:
105  ~nsDOMHTMLMetaElement();
106
107protected:
108  /* additional members */
109};
110
111/* Implementation file */
112NS_IMPL_ISUPPORTS1(nsDOMHTMLMetaElement, nsIDOMHTMLMetaElement)
113
114nsDOMHTMLMetaElement::nsDOMHTMLMetaElement()
115{
116  /* member initializers and constructor code */
117}
118
119nsDOMHTMLMetaElement::~nsDOMHTMLMetaElement()
120{
121  /* destructor code */
122}
123
124/* attribute DOMString content; */
125NS_IMETHODIMP nsDOMHTMLMetaElement::GetContent(nsAString & aContent)
126{
127    return NS_ERROR_NOT_IMPLEMENTED;
128}
129NS_IMETHODIMP nsDOMHTMLMetaElement::SetContent(const nsAString & aContent)
130{
131    return NS_ERROR_NOT_IMPLEMENTED;
132}
133
134/* attribute DOMString httpEquiv; */
135NS_IMETHODIMP nsDOMHTMLMetaElement::GetHttpEquiv(nsAString & aHttpEquiv)
136{
137    return NS_ERROR_NOT_IMPLEMENTED;
138}
139NS_IMETHODIMP nsDOMHTMLMetaElement::SetHttpEquiv(const nsAString & aHttpEquiv)
140{
141    return NS_ERROR_NOT_IMPLEMENTED;
142}
143
144/* attribute DOMString name; */
145NS_IMETHODIMP nsDOMHTMLMetaElement::GetName(nsAString & aName)
146{
147    return NS_ERROR_NOT_IMPLEMENTED;
148}
149NS_IMETHODIMP nsDOMHTMLMetaElement::SetName(const nsAString & aName)
150{
151    return NS_ERROR_NOT_IMPLEMENTED;
152}
153
154/* attribute DOMString scheme; */
155NS_IMETHODIMP nsDOMHTMLMetaElement::GetScheme(nsAString & aScheme)
156{
157    return NS_ERROR_NOT_IMPLEMENTED;
158}
159NS_IMETHODIMP nsDOMHTMLMetaElement::SetScheme(const nsAString & aScheme)
160{
161    return NS_ERROR_NOT_IMPLEMENTED;
162}
163
164/* End of implementation class template. */
165#endif
166
167
168#endif /* __gen_nsIDOMHTMLMetaElement_h__ */