~etc-pgh-launchpad/wildpockets/trunk

« back to all changes in this revision

Viewing changes to loader.npruntime/sdkfiles/dist-sdk-include/nsIDOMHTMLIsIndexElement.h

  • Committer: etc-pgh-launchpad at cmu
  • Date: 2010-11-30 20:56:30 UTC
  • Revision ID: etc-pgh-launchpad@lists.andrew.cmu.edu-20101130205630-0blbkcz28ovjl8wj
Committing the Wild Pockets code base to Launchpad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/dev/firefox-2.0.0.7-source/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
 */
 
34
class NS_NO_VTABLE nsIDOMHTMLIsIndexElement : public nsIDOMHTMLElement {
 
35
 public: 
 
36
 
 
37
  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLISINDEXELEMENT_IID)
 
38
 
 
39
  /* readonly attribute nsIDOMHTMLFormElement form; */
 
40
  NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
 
41
 
 
42
  /* attribute DOMString prompt; */
 
43
  NS_IMETHOD GetPrompt(nsAString & aPrompt) = 0;
 
44
  NS_IMETHOD SetPrompt(const nsAString & aPrompt) = 0;
 
45
 
 
46
};
 
47
 
 
48
/* Use this macro when declaring classes that implement this interface. */
 
49
#define NS_DECL_NSIDOMHTMLISINDEXELEMENT \
 
50
  NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
 
51
  NS_IMETHOD GetPrompt(nsAString & aPrompt); \
 
52
  NS_IMETHOD SetPrompt(const nsAString & aPrompt); 
 
53
 
 
54
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 
55
#define NS_FORWARD_NSIDOMHTMLISINDEXELEMENT(_to) \
 
56
  NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
 
57
  NS_IMETHOD GetPrompt(nsAString & aPrompt) { return _to GetPrompt(aPrompt); } \
 
58
  NS_IMETHOD SetPrompt(const nsAString & aPrompt) { return _to SetPrompt(aPrompt); } 
 
59
 
 
60
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 
61
#define NS_FORWARD_SAFE_NSIDOMHTMLISINDEXELEMENT(_to) \
 
62
  NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
 
63
  NS_IMETHOD GetPrompt(nsAString & aPrompt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrompt(aPrompt); } \
 
64
  NS_IMETHOD SetPrompt(const nsAString & aPrompt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrompt(aPrompt); } 
 
65
 
 
66
#if 0
 
67
/* Use the code below as a template for the implementation class for this interface. */
 
68
 
 
69
/* Header file */
 
70
class nsDOMHTMLIsIndexElement : public nsIDOMHTMLIsIndexElement
 
71
{
 
72
public:
 
73
  NS_DECL_ISUPPORTS
 
74
  NS_DECL_NSIDOMHTMLISINDEXELEMENT
 
75
 
 
76
  nsDOMHTMLIsIndexElement();
 
77
 
 
78
private:
 
79
  ~nsDOMHTMLIsIndexElement();
 
80
 
 
81
protected:
 
82
  /* additional members */
 
83
};
 
84
 
 
85
/* Implementation file */
 
86
NS_IMPL_ISUPPORTS1(nsDOMHTMLIsIndexElement, nsIDOMHTMLIsIndexElement)
 
87
 
 
88
nsDOMHTMLIsIndexElement::nsDOMHTMLIsIndexElement()
 
89
{
 
90
  /* member initializers and constructor code */
 
91
}
 
92
 
 
93
nsDOMHTMLIsIndexElement::~nsDOMHTMLIsIndexElement()
 
94
{
 
95
  /* destructor code */
 
96
}
 
97
 
 
98
/* readonly attribute nsIDOMHTMLFormElement form; */
 
99
NS_IMETHODIMP nsDOMHTMLIsIndexElement::GetForm(nsIDOMHTMLFormElement * *aForm)
 
100
{
 
101
    return NS_ERROR_NOT_IMPLEMENTED;
 
102
}
 
103
 
 
104
/* attribute DOMString prompt; */
 
105
NS_IMETHODIMP nsDOMHTMLIsIndexElement::GetPrompt(nsAString & aPrompt)
 
106
{
 
107
    return NS_ERROR_NOT_IMPLEMENTED;
 
108
}
 
109
NS_IMETHODIMP nsDOMHTMLIsIndexElement::SetPrompt(const nsAString & aPrompt)
 
110
{
 
111
    return NS_ERROR_NOT_IMPLEMENTED;
 
112
}
 
113
 
 
114
/* End of implementation class template. */
 
115
#endif
 
116
 
 
117
 
 
118
#endif /* __gen_nsIDOMHTMLIsIndexElement_h__ */