PageRenderTime 104ms CodeModel.GetById 40ms app.highlight 8ms RepoModel.GetById 52ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLAreaElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 248 lines | 168 code | 40 blank | 40 comment | 0 complexity | e5e0d7b35435f031e5d88fe77911a986 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/nsIDOMHTMLAreaElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLAreaElement_h__
  6#define __gen_nsIDOMHTMLAreaElement_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:    nsIDOMHTMLAreaElement */
 19#define NS_IDOMHTMLAREAELEMENT_IID_STR "a6cf90b0-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLAREAELEMENT_IID \
 22  {0xa6cf90b0, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLAreaElement interface is the interface to a [X]HTML
 27 * area 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 nsIDOMHTMLAreaElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLAREAELEMENT_IID)
 38
 39  /* attribute DOMString accessKey; */
 40  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
 42
 43  /* attribute DOMString alt; */
 44  NS_SCRIPTABLE NS_IMETHOD GetAlt(nsAString & aAlt) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt) = 0;
 46
 47  /* attribute DOMString coords; */
 48  NS_SCRIPTABLE NS_IMETHOD GetCoords(nsAString & aCoords) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetCoords(const nsAString & aCoords) = 0;
 50
 51  /* attribute DOMString href; */
 52  NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetHref(const nsAString & aHref) = 0;
 54
 55  /* attribute boolean noHref; */
 56  NS_SCRIPTABLE NS_IMETHOD GetNoHref(PRBool *aNoHref) = 0;
 57  NS_SCRIPTABLE NS_IMETHOD SetNoHref(PRBool aNoHref) = 0;
 58
 59  /* attribute DOMString shape; */
 60  NS_SCRIPTABLE NS_IMETHOD GetShape(nsAString & aShape) = 0;
 61  NS_SCRIPTABLE NS_IMETHOD SetShape(const nsAString & aShape) = 0;
 62
 63  /* attribute long tabIndex; */
 64  NS_SCRIPTABLE NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) = 0;
 65  NS_SCRIPTABLE NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) = 0;
 66
 67  /* attribute DOMString target; */
 68  NS_SCRIPTABLE NS_IMETHOD GetTarget(nsAString & aTarget) = 0;
 69  NS_SCRIPTABLE NS_IMETHOD SetTarget(const nsAString & aTarget) = 0;
 70
 71};
 72
 73  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLAreaElement, NS_IDOMHTMLAREAELEMENT_IID)
 74
 75/* Use this macro when declaring classes that implement this interface. */
 76#define NS_DECL_NSIDOMHTMLAREAELEMENT \
 77  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
 78  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
 79  NS_SCRIPTABLE NS_IMETHOD GetAlt(nsAString & aAlt); \
 80  NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt); \
 81  NS_SCRIPTABLE NS_IMETHOD GetCoords(nsAString & aCoords); \
 82  NS_SCRIPTABLE NS_IMETHOD SetCoords(const nsAString & aCoords); \
 83  NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref); \
 84  NS_SCRIPTABLE NS_IMETHOD SetHref(const nsAString & aHref); \
 85  NS_SCRIPTABLE NS_IMETHOD GetNoHref(PRBool *aNoHref); \
 86  NS_SCRIPTABLE NS_IMETHOD SetNoHref(PRBool aNoHref); \
 87  NS_SCRIPTABLE NS_IMETHOD GetShape(nsAString & aShape); \
 88  NS_SCRIPTABLE NS_IMETHOD SetShape(const nsAString & aShape); \
 89  NS_SCRIPTABLE NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex); \
 90  NS_SCRIPTABLE NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
 91  NS_SCRIPTABLE NS_IMETHOD GetTarget(nsAString & aTarget); \
 92  NS_SCRIPTABLE NS_IMETHOD SetTarget(const nsAString & aTarget); 
 93
 94/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 95#define NS_FORWARD_NSIDOMHTMLAREAELEMENT(_to) \
 96  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAccessKey); } \
 97  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKey(aAccessKey); } \
 98  NS_SCRIPTABLE NS_IMETHOD GetAlt(nsAString & aAlt) { return _to GetAlt(aAlt); } \
 99  NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt) { return _to SetAlt(aAlt); } \
100  NS_SCRIPTABLE NS_IMETHOD GetCoords(nsAString & aCoords) { return _to GetCoords(aCoords); } \
101  NS_SCRIPTABLE NS_IMETHOD SetCoords(const nsAString & aCoords) { return _to SetCoords(aCoords); } \
102  NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref) { return _to GetHref(aHref); } \
103  NS_SCRIPTABLE NS_IMETHOD SetHref(const nsAString & aHref) { return _to SetHref(aHref); } \
104  NS_SCRIPTABLE NS_IMETHOD GetNoHref(PRBool *aNoHref) { return _to GetNoHref(aNoHref); } \
105  NS_SCRIPTABLE NS_IMETHOD SetNoHref(PRBool aNoHref) { return _to SetNoHref(aNoHref); } \
106  NS_SCRIPTABLE NS_IMETHOD GetShape(nsAString & aShape) { return _to GetShape(aShape); } \
107  NS_SCRIPTABLE NS_IMETHOD SetShape(const nsAString & aShape) { return _to SetShape(aShape); } \
108  NS_SCRIPTABLE NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return _to GetTabIndex(aTabIndex); } \
109  NS_SCRIPTABLE NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
110  NS_SCRIPTABLE NS_IMETHOD GetTarget(nsAString & aTarget) { return _to GetTarget(aTarget); } \
111  NS_SCRIPTABLE NS_IMETHOD SetTarget(const nsAString & aTarget) { return _to SetTarget(aTarget); } 
112
113/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
114#define NS_FORWARD_SAFE_NSIDOMHTMLAREAELEMENT(_to) \
115  NS_SCRIPTABLE NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
116  NS_SCRIPTABLE NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
117  NS_SCRIPTABLE NS_IMETHOD GetAlt(nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlt(aAlt); } \
118  NS_SCRIPTABLE NS_IMETHOD SetAlt(const nsAString & aAlt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlt(aAlt); } \
119  NS_SCRIPTABLE NS_IMETHOD GetCoords(nsAString & aCoords) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCoords(aCoords); } \
120  NS_SCRIPTABLE NS_IMETHOD SetCoords(const nsAString & aCoords) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCoords(aCoords); } \
121  NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHref(aHref); } \
122  NS_SCRIPTABLE NS_IMETHOD SetHref(const nsAString & aHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHref(aHref); } \
123  NS_SCRIPTABLE NS_IMETHOD GetNoHref(PRBool *aNoHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoHref(aNoHref); } \
124  NS_SCRIPTABLE NS_IMETHOD SetNoHref(PRBool aNoHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoHref(aNoHref); } \
125  NS_SCRIPTABLE NS_IMETHOD GetShape(nsAString & aShape) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShape(aShape); } \
126  NS_SCRIPTABLE NS_IMETHOD SetShape(const nsAString & aShape) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShape(aShape); } \
127  NS_SCRIPTABLE NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTabIndex(aTabIndex); } \
128  NS_SCRIPTABLE NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTabIndex(aTabIndex); } \
129  NS_SCRIPTABLE NS_IMETHOD GetTarget(nsAString & aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTarget(aTarget); } \
130  NS_SCRIPTABLE NS_IMETHOD SetTarget(const nsAString & aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTarget(aTarget); } 
131
132#if 0
133/* Use the code below as a template for the implementation class for this interface. */
134
135/* Header file */
136class nsDOMHTMLAreaElement : public nsIDOMHTMLAreaElement
137{
138public:
139  NS_DECL_ISUPPORTS
140  NS_DECL_NSIDOMHTMLAREAELEMENT
141
142  nsDOMHTMLAreaElement();
143
144private:
145  ~nsDOMHTMLAreaElement();
146
147protected:
148  /* additional members */
149};
150
151/* Implementation file */
152NS_IMPL_ISUPPORTS1(nsDOMHTMLAreaElement, nsIDOMHTMLAreaElement)
153
154nsDOMHTMLAreaElement::nsDOMHTMLAreaElement()
155{
156  /* member initializers and constructor code */
157}
158
159nsDOMHTMLAreaElement::~nsDOMHTMLAreaElement()
160{
161  /* destructor code */
162}
163
164/* attribute DOMString accessKey; */
165NS_IMETHODIMP nsDOMHTMLAreaElement::GetAccessKey(nsAString & aAccessKey)
166{
167    return NS_ERROR_NOT_IMPLEMENTED;
168}
169NS_IMETHODIMP nsDOMHTMLAreaElement::SetAccessKey(const nsAString & aAccessKey)
170{
171    return NS_ERROR_NOT_IMPLEMENTED;
172}
173
174/* attribute DOMString alt; */
175NS_IMETHODIMP nsDOMHTMLAreaElement::GetAlt(nsAString & aAlt)
176{
177    return NS_ERROR_NOT_IMPLEMENTED;
178}
179NS_IMETHODIMP nsDOMHTMLAreaElement::SetAlt(const nsAString & aAlt)
180{
181    return NS_ERROR_NOT_IMPLEMENTED;
182}
183
184/* attribute DOMString coords; */
185NS_IMETHODIMP nsDOMHTMLAreaElement::GetCoords(nsAString & aCoords)
186{
187    return NS_ERROR_NOT_IMPLEMENTED;
188}
189NS_IMETHODIMP nsDOMHTMLAreaElement::SetCoords(const nsAString & aCoords)
190{
191    return NS_ERROR_NOT_IMPLEMENTED;
192}
193
194/* attribute DOMString href; */
195NS_IMETHODIMP nsDOMHTMLAreaElement::GetHref(nsAString & aHref)
196{
197    return NS_ERROR_NOT_IMPLEMENTED;
198}
199NS_IMETHODIMP nsDOMHTMLAreaElement::SetHref(const nsAString & aHref)
200{
201    return NS_ERROR_NOT_IMPLEMENTED;
202}
203
204/* attribute boolean noHref; */
205NS_IMETHODIMP nsDOMHTMLAreaElement::GetNoHref(PRBool *aNoHref)
206{
207    return NS_ERROR_NOT_IMPLEMENTED;
208}
209NS_IMETHODIMP nsDOMHTMLAreaElement::SetNoHref(PRBool aNoHref)
210{
211    return NS_ERROR_NOT_IMPLEMENTED;
212}
213
214/* attribute DOMString shape; */
215NS_IMETHODIMP nsDOMHTMLAreaElement::GetShape(nsAString & aShape)
216{
217    return NS_ERROR_NOT_IMPLEMENTED;
218}
219NS_IMETHODIMP nsDOMHTMLAreaElement::SetShape(const nsAString & aShape)
220{
221    return NS_ERROR_NOT_IMPLEMENTED;
222}
223
224/* attribute long tabIndex; */
225NS_IMETHODIMP nsDOMHTMLAreaElement::GetTabIndex(PRInt32 *aTabIndex)
226{
227    return NS_ERROR_NOT_IMPLEMENTED;
228}
229NS_IMETHODIMP nsDOMHTMLAreaElement::SetTabIndex(PRInt32 aTabIndex)
230{
231    return NS_ERROR_NOT_IMPLEMENTED;
232}
233
234/* attribute DOMString target; */
235NS_IMETHODIMP nsDOMHTMLAreaElement::GetTarget(nsAString & aTarget)
236{
237    return NS_ERROR_NOT_IMPLEMENTED;
238}
239NS_IMETHODIMP nsDOMHTMLAreaElement::SetTarget(const nsAString & aTarget)
240{
241    return NS_ERROR_NOT_IMPLEMENTED;
242}
243
244/* End of implementation class template. */
245#endif
246
247
248#endif /* __gen_nsIDOMHTMLAreaElement_h__ */