PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLIsIndexElement.h

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