1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLSourceElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLSourceElement_h__
6 : #define __gen_nsIDOMHTMLSourceElement_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: nsIDOMHTMLSourceElement */
19 : #define NS_IDOMHTMLSOURCEELEMENT_IID_STR "c49d9a78-fa02-49c9-b239-9cd51e99f866"
20 :
21 : #define NS_IDOMHTMLSOURCEELEMENT_IID \
22 : {0xc49d9a78, 0xfa02, 0x49c9, \
23 : { 0xb2, 0x39, 0x9c, 0xd5, 0x1e, 0x99, 0xf8, 0x66 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLSourceElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSOURCEELEMENT_IID)
29 :
30 : /* attribute DOMString src; */
31 : NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
33 :
34 : /* attribute DOMString type; */
35 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
37 :
38 : };
39 :
40 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLSourceElement, NS_IDOMHTMLSOURCEELEMENT_IID)
41 :
42 : /* Use this macro when declaring classes that implement this interface. */
43 : #define NS_DECL_NSIDOMHTMLSOURCEELEMENT \
44 : NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc); \
45 : NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc); \
46 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
47 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMHTMLSOURCEELEMENT(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
52 : NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
54 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); }
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
57 : #define NS_FORWARD_SAFE_NSIDOMHTMLSOURCEELEMENT(_to) \
58 : NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
59 : NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
61 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsDOMHTMLSourceElement : public nsIDOMHTMLSourceElement
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIDOMHTMLSOURCEELEMENT
72 :
73 : nsDOMHTMLSourceElement();
74 :
75 : private:
76 : ~nsDOMHTMLSourceElement();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsDOMHTMLSourceElement, nsIDOMHTMLSourceElement)
84 :
85 : nsDOMHTMLSourceElement::nsDOMHTMLSourceElement()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsDOMHTMLSourceElement::~nsDOMHTMLSourceElement()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* attribute DOMString src; */
96 : NS_IMETHODIMP nsDOMHTMLSourceElement::GetSrc(nsAString & aSrc)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 : NS_IMETHODIMP nsDOMHTMLSourceElement::SetSrc(const nsAString & aSrc)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* attribute DOMString type; */
106 : NS_IMETHODIMP nsDOMHTMLSourceElement::GetType(nsAString & aType)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 : NS_IMETHODIMP nsDOMHTMLSourceElement::SetType(const nsAString & aType)
111 : {
112 : return NS_ERROR_NOT_IMPLEMENTED;
113 : }
114 :
115 : /* End of implementation class template. */
116 : #endif
117 :
118 :
119 : #endif /* __gen_nsIDOMHTMLSourceElement_h__ */
|