| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 | 
							- /*
 
-  * DO NOT EDIT.  THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLBodyElement.idl
 
-  */
 
- #ifndef __gen_nsIDOMHTMLBodyElement_h__
 
- #define __gen_nsIDOMHTMLBodyElement_h__
 
- #ifndef __gen_nsIDOMHTMLElement_h__
 
- #include "nsIDOMHTMLElement.h"
 
- #endif
 
- /* For IDL files that don't want to include root IDL files. */
 
- #ifndef NS_NO_VTABLE
 
- #define NS_NO_VTABLE
 
- #endif
 
- /* starting interface:    nsIDOMHTMLBodyElement */
 
- #define NS_IDOMHTMLBODYELEMENT_IID_STR "a6cf908e-15b3-11d2-932e-00805f8add32"
 
- #define NS_IDOMHTMLBODYELEMENT_IID \
 
-   {0xa6cf908e, 0x15b3, 0x11d2, \
 
-     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 
- /**
 
-  * The nsIDOMHTMLBodyElement interface is the interface to a [X]HTML
 
-  * body element.
 
-  *
 
-  * For more information on this interface please see
 
-  * http://www.w3.org/TR/DOM-Level-2-HTML/
 
-  *
 
-  * @status FROZEN
 
-  */
 
- class NS_NO_VTABLE nsIDOMHTMLBodyElement : public nsIDOMHTMLElement {
 
-  public: 
 
-   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLBODYELEMENT_IID)
 
-   /* attribute DOMString aLink; */
 
-   NS_IMETHOD GetALink(nsAString & aALink) = 0;
 
-   NS_IMETHOD SetALink(const nsAString & aALink) = 0;
 
-   /* attribute DOMString background; */
 
-   NS_IMETHOD GetBackground(nsAString & aBackground) = 0;
 
-   NS_IMETHOD SetBackground(const nsAString & aBackground) = 0;
 
-   /* attribute DOMString bgColor; */
 
-   NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
 
-   NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
 
-   /* attribute DOMString link; */
 
-   NS_IMETHOD GetLink(nsAString & aLink) = 0;
 
-   NS_IMETHOD SetLink(const nsAString & aLink) = 0;
 
-   /* attribute DOMString text; */
 
-   NS_IMETHOD GetText(nsAString & aText) = 0;
 
-   NS_IMETHOD SetText(const nsAString & aText) = 0;
 
-   /* attribute DOMString vLink; */
 
-   NS_IMETHOD GetVLink(nsAString & aVLink) = 0;
 
-   NS_IMETHOD SetVLink(const nsAString & aVLink) = 0;
 
- };
 
- /* Use this macro when declaring classes that implement this interface. */
 
- #define NS_DECL_NSIDOMHTMLBODYELEMENT \
 
-   NS_IMETHOD GetALink(nsAString & aALink); \
 
-   NS_IMETHOD SetALink(const nsAString & aALink); \
 
-   NS_IMETHOD GetBackground(nsAString & aBackground); \
 
-   NS_IMETHOD SetBackground(const nsAString & aBackground); \
 
-   NS_IMETHOD GetBgColor(nsAString & aBgColor); \
 
-   NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
 
-   NS_IMETHOD GetLink(nsAString & aLink); \
 
-   NS_IMETHOD SetLink(const nsAString & aLink); \
 
-   NS_IMETHOD GetText(nsAString & aText); \
 
-   NS_IMETHOD SetText(const nsAString & aText); \
 
-   NS_IMETHOD GetVLink(nsAString & aVLink); \
 
-   NS_IMETHOD SetVLink(const nsAString & aVLink); 
 
- /* Use this macro to declare functions that forward the behavior of this interface to another object. */
 
- #define NS_FORWARD_NSIDOMHTMLBODYELEMENT(_to) \
 
-   NS_IMETHOD GetALink(nsAString & aALink) { return _to GetALink(aALink); } \
 
-   NS_IMETHOD SetALink(const nsAString & aALink) { return _to SetALink(aALink); } \
 
-   NS_IMETHOD GetBackground(nsAString & aBackground) { return _to GetBackground(aBackground); } \
 
-   NS_IMETHOD SetBackground(const nsAString & aBackground) { return _to SetBackground(aBackground); } \
 
-   NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
 
-   NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
 
-   NS_IMETHOD GetLink(nsAString & aLink) { return _to GetLink(aLink); } \
 
-   NS_IMETHOD SetLink(const nsAString & aLink) { return _to SetLink(aLink); } \
 
-   NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
 
-   NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); } \
 
-   NS_IMETHOD GetVLink(nsAString & aVLink) { return _to GetVLink(aVLink); } \
 
-   NS_IMETHOD SetVLink(const nsAString & aVLink) { return _to SetVLink(aVLink); } 
 
- /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 
- #define NS_FORWARD_SAFE_NSIDOMHTMLBODYELEMENT(_to) \
 
-   NS_IMETHOD GetALink(nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetALink(aALink); } \
 
-   NS_IMETHOD SetALink(const nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetALink(aALink); } \
 
-   NS_IMETHOD GetBackground(nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBackground(aBackground); } \
 
-   NS_IMETHOD SetBackground(const nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBackground(aBackground); } \
 
-   NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
 
-   NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
 
-   NS_IMETHOD GetLink(nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
 
-   NS_IMETHOD SetLink(const nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
 
-   NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
 
-   NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
 
-   NS_IMETHOD GetVLink(nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVLink(aVLink); } \
 
-   NS_IMETHOD SetVLink(const nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVLink(aVLink); } 
 
- #if 0
 
- /* Use the code below as a template for the implementation class for this interface. */
 
- /* Header file */
 
- class nsDOMHTMLBodyElement : public nsIDOMHTMLBodyElement
 
- {
 
- public:
 
-   NS_DECL_ISUPPORTS
 
-   NS_DECL_NSIDOMHTMLBODYELEMENT
 
-   nsDOMHTMLBodyElement();
 
- private:
 
-   ~nsDOMHTMLBodyElement();
 
- protected:
 
-   /* additional members */
 
- };
 
- /* Implementation file */
 
- NS_IMPL_ISUPPORTS1(nsDOMHTMLBodyElement, nsIDOMHTMLBodyElement)
 
- nsDOMHTMLBodyElement::nsDOMHTMLBodyElement()
 
- {
 
-   /* member initializers and constructor code */
 
- }
 
- nsDOMHTMLBodyElement::~nsDOMHTMLBodyElement()
 
- {
 
-   /* destructor code */
 
- }
 
- /* attribute DOMString aLink; */
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::GetALink(nsAString & aALink)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::SetALink(const nsAString & aALink)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- /* attribute DOMString background; */
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::GetBackground(nsAString & aBackground)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::SetBackground(const nsAString & aBackground)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- /* attribute DOMString bgColor; */
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::GetBgColor(nsAString & aBgColor)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::SetBgColor(const nsAString & aBgColor)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- /* attribute DOMString link; */
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::GetLink(nsAString & aLink)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::SetLink(const nsAString & aLink)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- /* attribute DOMString text; */
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::GetText(nsAString & aText)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::SetText(const nsAString & aText)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- /* attribute DOMString vLink; */
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::GetVLink(nsAString & aVLink)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- NS_IMETHODIMP nsDOMHTMLBodyElement::SetVLink(const nsAString & aVLink)
 
- {
 
-     return NS_ERROR_NOT_IMPLEMENTED;
 
- }
 
- /* End of implementation class template. */
 
- #endif
 
- #endif /* __gen_nsIDOMHTMLBodyElement_h__ */
 
 
  |