PageRenderTime 38ms CodeModel.GetById 29ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLParamElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 168 lines | 104 code | 32 blank | 32 comment | 0 complexity | 86c307ad6e7d92a871f384f1cc7dc64e 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/nsIDOMHTMLParamElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLParamElement_h__
  6#define __gen_nsIDOMHTMLParamElement_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:    nsIDOMHTMLParamElement */
 19#define NS_IDOMHTMLPARAMELEMENT_IID_STR "a6cf90ad-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLPARAMELEMENT_IID \
 22  {0xa6cf90ad, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLParamElement interface is the interface to a [X]HTML
 27 * param 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 nsIDOMHTMLParamElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPARAMELEMENT_IID)
 38
 39  /* attribute DOMString name; */
 40  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
 42
 43  /* attribute DOMString type; */
 44  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
 46
 47  /* attribute DOMString value; */
 48  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;
 50
 51  /* attribute DOMString valueType; */
 52  NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) = 0;
 54
 55};
 56
 57  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLParamElement, NS_IDOMHTMLPARAMELEMENT_IID)
 58
 59/* Use this macro when declaring classes that implement this interface. */
 60#define NS_DECL_NSIDOMHTMLPARAMELEMENT \
 61  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
 62  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
 63  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
 64  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
 65  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
 66  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); \
 67  NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType); \
 68  NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType); 
 69
 70/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 71#define NS_FORWARD_NSIDOMHTMLPARAMELEMENT(_to) \
 72  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
 73  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
 74  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
 75  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
 76  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
 77  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
 78  NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) { return _to GetValueType(aValueType); } \
 79  NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) { return _to SetValueType(aValueType); } 
 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_NSIDOMHTMLPARAMELEMENT(_to) \
 83  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
 84  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
 85  NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
 86  NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
 87  NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
 88  NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
 89  NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueType(aValueType); } \
 90  NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueType(aValueType); } 
 91
 92#if 0
 93/* Use the code below as a template for the implementation class for this interface. */
 94
 95/* Header file */
 96class nsDOMHTMLParamElement : public nsIDOMHTMLParamElement
 97{
 98public:
 99  NS_DECL_ISUPPORTS
100  NS_DECL_NSIDOMHTMLPARAMELEMENT
101
102  nsDOMHTMLParamElement();
103
104private:
105  ~nsDOMHTMLParamElement();
106
107protected:
108  /* additional members */
109};
110
111/* Implementation file */
112NS_IMPL_ISUPPORTS1(nsDOMHTMLParamElement, nsIDOMHTMLParamElement)
113
114nsDOMHTMLParamElement::nsDOMHTMLParamElement()
115{
116  /* member initializers and constructor code */
117}
118
119nsDOMHTMLParamElement::~nsDOMHTMLParamElement()
120{
121  /* destructor code */
122}
123
124/* attribute DOMString name; */
125NS_IMETHODIMP nsDOMHTMLParamElement::GetName(nsAString & aName)
126{
127    return NS_ERROR_NOT_IMPLEMENTED;
128}
129NS_IMETHODIMP nsDOMHTMLParamElement::SetName(const nsAString & aName)
130{
131    return NS_ERROR_NOT_IMPLEMENTED;
132}
133
134/* attribute DOMString type; */
135NS_IMETHODIMP nsDOMHTMLParamElement::GetType(nsAString & aType)
136{
137    return NS_ERROR_NOT_IMPLEMENTED;
138}
139NS_IMETHODIMP nsDOMHTMLParamElement::SetType(const nsAString & aType)
140{
141    return NS_ERROR_NOT_IMPLEMENTED;
142}
143
144/* attribute DOMString value; */
145NS_IMETHODIMP nsDOMHTMLParamElement::GetValue(nsAString & aValue)
146{
147    return NS_ERROR_NOT_IMPLEMENTED;
148}
149NS_IMETHODIMP nsDOMHTMLParamElement::SetValue(const nsAString & aValue)
150{
151    return NS_ERROR_NOT_IMPLEMENTED;
152}
153
154/* attribute DOMString valueType; */
155NS_IMETHODIMP nsDOMHTMLParamElement::GetValueType(nsAString & aValueType)
156{
157    return NS_ERROR_NOT_IMPLEMENTED;
158}
159NS_IMETHODIMP nsDOMHTMLParamElement::SetValueType(const nsAString & aValueType)
160{
161    return NS_ERROR_NOT_IMPLEMENTED;
162}
163
164/* End of implementation class template. */
165#endif
166
167
168#endif /* __gen_nsIDOMHTMLParamElement_h__ */