Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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 "6a5d2ce7-2c45-43c1-bdab-9df7a06caed1"
20 :
21 : #define NS_IDOMHTMLHTMLELEMENT_IID \
22 : {0x6a5d2ce7, 0x2c45, 0x43c1, \
23 : { 0xbd, 0xab, 0x9d, 0xf7, 0xa0, 0x6c, 0xae, 0xd1 }}
24 :
25 14 : class NS_NO_VTABLE nsIDOMHTMLHtmlElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLHTMLELEMENT_IID)
29 :
30 : /* attribute DOMString version; */
31 : NS_IMETHOD GetVersion(nsAString & aVersion) = 0;
32 : 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_IMETHOD GetVersion(nsAString & aVersion) override; \
41 : NS_IMETHOD SetVersion(const nsAString & aVersion) override;
42 :
43 : /* Use this macro when declaring the members of this interface when the
44 : class doesn't implement the interface. This is useful for forwarding. */
45 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLHTMLELEMENT \
46 : nsresult GetVersion(nsAString & aVersion); \
47 : nsresult SetVersion(const nsAString & aVersion);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMHTMLHTMLELEMENT(_to) \
51 : NS_IMETHOD GetVersion(nsAString & aVersion) override { return _to GetVersion(aVersion); } \
52 : NS_IMETHOD SetVersion(const nsAString & aVersion) override { return _to SetVersion(aVersion); }
53 :
54 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
55 : #define NS_FORWARD_SAFE_NSIDOMHTMLHTMLELEMENT(_to) \
56 : NS_IMETHOD GetVersion(nsAString & aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
57 : NS_IMETHOD SetVersion(const nsAString & aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVersion(aVersion); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsDOMHTMLHtmlElement : public nsIDOMHTMLHtmlElement
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMHTMLHTMLELEMENT
68 :
69 : nsDOMHTMLHtmlElement();
70 :
71 : private:
72 : ~nsDOMHTMLHtmlElement();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS(nsDOMHTMLHtmlElement, nsIDOMHTMLHtmlElement)
80 :
81 : nsDOMHTMLHtmlElement::nsDOMHTMLHtmlElement()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMHTMLHtmlElement::~nsDOMHTMLHtmlElement()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute DOMString version; */
92 : NS_IMETHODIMP nsDOMHTMLHtmlElement::GetVersion(nsAString & aVersion)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsDOMHTMLHtmlElement::SetVersion(const nsAString & aVersion)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* End of implementation class template. */
102 : #endif
103 :
104 :
105 : #endif /* __gen_nsIDOMHTMLHtmlElement_h__ */
|