PageRenderTime 11ms CodeModel.GetById 8ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLTableCaptionElem.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 108 lines | 56 code | 26 blank | 26 comment | 0 complexity | f835b7e65fad0c60e1cc9e4de155d962 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/nsIDOMHTMLTableCaptionElem.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLTableCaptionElem_h__
  6#define __gen_nsIDOMHTMLTableCaptionElem_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:    nsIDOMHTMLTableCaptionElement */
 19#define NS_IDOMHTMLTABLECAPTIONELEMENT_IID_STR "a6cf90b3-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLTABLECAPTIONELEMENT_IID \
 22  {0xa6cf90b3, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLTableCaptionElement : public nsIDOMHTMLElement {
 26 public: 
 27
 28  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECAPTIONELEMENT_IID)
 29
 30  /**
 31 * The nsIDOMHTMLTableCaptionElement interface is the interface to a
 32 * [X]HTML caption element.
 33 *
 34 * For more information on this interface please see
 35 * http://www.w3.org/TR/DOM-Level-2-HTML/
 36 *
 37 * @status FROZEN
 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};
 44
 45  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLTableCaptionElement, NS_IDOMHTMLTABLECAPTIONELEMENT_IID)
 46
 47/* Use this macro when declaring classes that implement this interface. */
 48#define NS_DECL_NSIDOMHTMLTABLECAPTIONELEMENT \
 49  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
 50  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); 
 51
 52/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 53#define NS_FORWARD_NSIDOMHTMLTABLECAPTIONELEMENT(_to) \
 54  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
 55  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } 
 56
 57/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 58#define NS_FORWARD_SAFE_NSIDOMHTMLTABLECAPTIONELEMENT(_to) \
 59  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
 60  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } 
 61
 62#if 0
 63/* Use the code below as a template for the implementation class for this interface. */
 64
 65/* Header file */
 66class nsDOMHTMLTableCaptionElement : public nsIDOMHTMLTableCaptionElement
 67{
 68public:
 69  NS_DECL_ISUPPORTS
 70  NS_DECL_NSIDOMHTMLTABLECAPTIONELEMENT
 71
 72  nsDOMHTMLTableCaptionElement();
 73
 74private:
 75  ~nsDOMHTMLTableCaptionElement();
 76
 77protected:
 78  /* additional members */
 79};
 80
 81/* Implementation file */
 82NS_IMPL_ISUPPORTS1(nsDOMHTMLTableCaptionElement, nsIDOMHTMLTableCaptionElement)
 83
 84nsDOMHTMLTableCaptionElement::nsDOMHTMLTableCaptionElement()
 85{
 86  /* member initializers and constructor code */
 87}
 88
 89nsDOMHTMLTableCaptionElement::~nsDOMHTMLTableCaptionElement()
 90{
 91  /* destructor code */
 92}
 93
 94/* attribute DOMString align; */
 95NS_IMETHODIMP nsDOMHTMLTableCaptionElement::GetAlign(nsAString & aAlign)
 96{
 97    return NS_ERROR_NOT_IMPLEMENTED;
 98}
 99NS_IMETHODIMP nsDOMHTMLTableCaptionElement::SetAlign(const nsAString & aAlign)
100{
101    return NS_ERROR_NOT_IMPLEMENTED;
102}
103
104/* End of implementation class template. */
105#endif
106
107
108#endif /* __gen_nsIDOMHTMLTableCaptionElem_h__ */