PageRenderTime 154ms CodeModel.GetById 61ms app.highlight 3ms RepoModel.GetById 77ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLFrameSetElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 128 lines | 72 code | 28 blank | 28 comment | 0 complexity | 11ccd4b241234e517f3f68b1028438ef 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/nsIDOMHTMLFrameSetElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLFrameSetElement_h__
  6#define __gen_nsIDOMHTMLFrameSetElement_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:    nsIDOMHTMLFrameSetElement */
 19#define NS_IDOMHTMLFRAMESETELEMENT_IID_STR "a6cf90b8-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLFRAMESETELEMENT_IID \
 22  {0xa6cf90b8, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLFrameSetElement interface is the interface to a
 27 * [X]HTML frameset 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 nsIDOMHTMLFrameSetElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFRAMESETELEMENT_IID)
 38
 39  /* attribute DOMString cols; */
 40  NS_SCRIPTABLE NS_IMETHOD GetCols(nsAString & aCols) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetCols(const nsAString & aCols) = 0;
 42
 43  /* attribute DOMString rows; */
 44  NS_SCRIPTABLE NS_IMETHOD GetRows(nsAString & aRows) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetRows(const nsAString & aRows) = 0;
 46
 47};
 48
 49  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLFrameSetElement, NS_IDOMHTMLFRAMESETELEMENT_IID)
 50
 51/* Use this macro when declaring classes that implement this interface. */
 52#define NS_DECL_NSIDOMHTMLFRAMESETELEMENT \
 53  NS_SCRIPTABLE NS_IMETHOD GetCols(nsAString & aCols); \
 54  NS_SCRIPTABLE NS_IMETHOD SetCols(const nsAString & aCols); \
 55  NS_SCRIPTABLE NS_IMETHOD GetRows(nsAString & aRows); \
 56  NS_SCRIPTABLE NS_IMETHOD SetRows(const nsAString & aRows); 
 57
 58/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 59#define NS_FORWARD_NSIDOMHTMLFRAMESETELEMENT(_to) \
 60  NS_SCRIPTABLE NS_IMETHOD GetCols(nsAString & aCols) { return _to GetCols(aCols); } \
 61  NS_SCRIPTABLE NS_IMETHOD SetCols(const nsAString & aCols) { return _to SetCols(aCols); } \
 62  NS_SCRIPTABLE NS_IMETHOD GetRows(nsAString & aRows) { return _to GetRows(aRows); } \
 63  NS_SCRIPTABLE NS_IMETHOD SetRows(const nsAString & aRows) { return _to SetRows(aRows); } 
 64
 65/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 66#define NS_FORWARD_SAFE_NSIDOMHTMLFRAMESETELEMENT(_to) \
 67  NS_SCRIPTABLE NS_IMETHOD GetCols(nsAString & aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCols(aCols); } \
 68  NS_SCRIPTABLE NS_IMETHOD SetCols(const nsAString & aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCols(aCols); } \
 69  NS_SCRIPTABLE NS_IMETHOD GetRows(nsAString & aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRows(aRows); } \
 70  NS_SCRIPTABLE NS_IMETHOD SetRows(const nsAString & aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRows(aRows); } 
 71
 72#if 0
 73/* Use the code below as a template for the implementation class for this interface. */
 74
 75/* Header file */
 76class nsDOMHTMLFrameSetElement : public nsIDOMHTMLFrameSetElement
 77{
 78public:
 79  NS_DECL_ISUPPORTS
 80  NS_DECL_NSIDOMHTMLFRAMESETELEMENT
 81
 82  nsDOMHTMLFrameSetElement();
 83
 84private:
 85  ~nsDOMHTMLFrameSetElement();
 86
 87protected:
 88  /* additional members */
 89};
 90
 91/* Implementation file */
 92NS_IMPL_ISUPPORTS1(nsDOMHTMLFrameSetElement, nsIDOMHTMLFrameSetElement)
 93
 94nsDOMHTMLFrameSetElement::nsDOMHTMLFrameSetElement()
 95{
 96  /* member initializers and constructor code */
 97}
 98
 99nsDOMHTMLFrameSetElement::~nsDOMHTMLFrameSetElement()
100{
101  /* destructor code */
102}
103
104/* attribute DOMString cols; */
105NS_IMETHODIMP nsDOMHTMLFrameSetElement::GetCols(nsAString & aCols)
106{
107    return NS_ERROR_NOT_IMPLEMENTED;
108}
109NS_IMETHODIMP nsDOMHTMLFrameSetElement::SetCols(const nsAString & aCols)
110{
111    return NS_ERROR_NOT_IMPLEMENTED;
112}
113
114/* attribute DOMString rows; */
115NS_IMETHODIMP nsDOMHTMLFrameSetElement::GetRows(nsAString & aRows)
116{
117    return NS_ERROR_NOT_IMPLEMENTED;
118}
119NS_IMETHODIMP nsDOMHTMLFrameSetElement::SetRows(const nsAString & aRows)
120{
121    return NS_ERROR_NOT_IMPLEMENTED;
122}
123
124/* End of implementation class template. */
125#endif
126
127
128#endif /* __gen_nsIDOMHTMLFrameSetElement_h__ */