1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLHtmlElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLHtmlElement_h__
6 : #define __gen_nsIDOMHTMLHtmlElement_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: nsIDOMHTMLHtmlElement */
19 : #define NS_IDOMHTMLHTMLELEMENT_IID_STR "4bafbc15-aa88-4021-9ad6-e14189b7227b"
20 :
21 : #define NS_IDOMHTMLHTMLELEMENT_IID \
22 : {0x4bafbc15, 0xaa88, 0x4021, \
23 : { 0x9a, 0xd6, 0xe1, 0x41, 0x89, 0xb7, 0x22, 0x7b }}
24 :
25 470 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLHtmlElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLHTMLELEMENT_IID)
29 :
30 : /* attribute DOMString version; */
31 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetVersion(const nsAString & aVersion) = 0;
33 :
34 : };
35 :
36 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLHtmlElement, NS_IDOMHTMLHTMLELEMENT_IID)
37 :
38 : /* Use this macro when declaring classes that implement this interface. */
39 : #define NS_DECL_NSIDOMHTMLHTMLELEMENT \
40 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion); \
41 : NS_SCRIPTABLE NS_IMETHOD SetVersion(const nsAString & aVersion);
42 :
43 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
44 : #define NS_FORWARD_NSIDOMHTMLHTMLELEMENT(_to) \
45 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion) { return _to GetVersion(aVersion); } \
46 : NS_SCRIPTABLE NS_IMETHOD SetVersion(const nsAString & aVersion) { return _to SetVersion(aVersion); }
47 :
48 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
49 : #define NS_FORWARD_SAFE_NSIDOMHTMLHTMLELEMENT(_to) \
50 : NS_SCRIPTABLE NS_IMETHOD GetVersion(nsAString & aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
51 : NS_SCRIPTABLE NS_IMETHOD SetVersion(const nsAString & aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVersion(aVersion); }
52 :
53 : #if 0
54 : /* Use the code below as a template for the implementation class for this interface. */
55 :
56 : /* Header file */
57 : class nsDOMHTMLHtmlElement : public nsIDOMHTMLHtmlElement
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSIDOMHTMLHTMLELEMENT
62 :
63 : nsDOMHTMLHtmlElement();
64 :
65 : private:
66 : ~nsDOMHTMLHtmlElement();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsDOMHTMLHtmlElement, nsIDOMHTMLHtmlElement)
74 :
75 : nsDOMHTMLHtmlElement::nsDOMHTMLHtmlElement()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsDOMHTMLHtmlElement::~nsDOMHTMLHtmlElement()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* attribute DOMString version; */
86 : NS_IMETHODIMP nsDOMHTMLHtmlElement::GetVersion(nsAString & aVersion)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 : NS_IMETHODIMP nsDOMHTMLHtmlElement::SetVersion(const nsAString & aVersion)
91 : {
92 : return NS_ERROR_NOT_IMPLEMENTED;
93 : }
94 :
95 : /* End of implementation class template. */
96 : #endif
97 :
98 :
99 : #endif /* __gen_nsIDOMHTMLHtmlElement_h__ */
|