PageRenderTime 37ms CodeModel.GetById 29ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLHRElement.h

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