1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLPreElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLPreElement_h__
6 : #define __gen_nsIDOMHTMLPreElement_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: nsIDOMHTMLPreElement */
19 : #define NS_IDOMHTMLPREELEMENT_IID_STR "f4088dff-649c-4eff-a3a4-dbd6333cdc44"
20 :
21 : #define NS_IDOMHTMLPREELEMENT_IID \
22 : {0xf4088dff, 0x649c, 0x4eff, \
23 : { 0xa3, 0xa4, 0xdb, 0xd6, 0x33, 0x3c, 0xdc, 0x44 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLPreElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPREELEMENT_IID)
29 :
30 : /* attribute long width; */
31 : NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth) = 0;
33 :
34 : };
35 :
36 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLPreElement, NS_IDOMHTMLPREELEMENT_IID)
37 :
38 : /* Use this macro when declaring classes that implement this interface. */
39 : #define NS_DECL_NSIDOMHTMLPREELEMENT \
40 : NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth); \
41 : NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth);
42 :
43 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
44 : #define NS_FORWARD_NSIDOMHTMLPREELEMENT(_to) \
45 : NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to GetWidth(aWidth); } \
46 : NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth) { return _to SetWidth(aWidth); }
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_NSIDOMHTMLPREELEMENT(_to) \
50 : NS_SCRIPTABLE NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
51 : NS_SCRIPTABLE NS_IMETHOD SetWidth(PRInt32 aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
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 nsDOMHTMLPreElement : public nsIDOMHTMLPreElement
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSIDOMHTMLPREELEMENT
62 :
63 : nsDOMHTMLPreElement();
64 :
65 : private:
66 : ~nsDOMHTMLPreElement();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsDOMHTMLPreElement, nsIDOMHTMLPreElement)
74 :
75 : nsDOMHTMLPreElement::nsDOMHTMLPreElement()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsDOMHTMLPreElement::~nsDOMHTMLPreElement()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* attribute long width; */
86 : NS_IMETHODIMP nsDOMHTMLPreElement::GetWidth(PRInt32 *aWidth)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 : NS_IMETHODIMP nsDOMHTMLPreElement::SetWidth(PRInt32 aWidth)
91 : {
92 : return NS_ERROR_NOT_IMPLEMENTED;
93 : }
94 :
95 : /* End of implementation class template. */
96 : #endif
97 :
98 :
99 : #endif /* __gen_nsIDOMHTMLPreElement_h__ */
|