Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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 "a2441b77-ad22-4275-b1dd-1b58c044fd04"
20 :
21 : #define NS_IDOMHTMLPREELEMENT_IID \
22 : {0xa2441b77, 0xad22, 0x4275, \
23 : { 0xb1, 0xdd, 0x1b, 0x58, 0xc0, 0x44, 0xfd, 0x04 }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMHTMLPreElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPREELEMENT_IID)
29 :
30 : /* attribute long width; */
31 : NS_IMETHOD GetWidth(int32_t *aWidth) = 0;
32 : NS_IMETHOD SetWidth(int32_t 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_IMETHOD GetWidth(int32_t *aWidth) override; \
41 : NS_IMETHOD SetWidth(int32_t aWidth) 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_NSIDOMHTMLPREELEMENT \
46 : nsresult GetWidth(int32_t *aWidth); \
47 : nsresult SetWidth(int32_t aWidth);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMHTMLPREELEMENT(_to) \
51 : NS_IMETHOD GetWidth(int32_t *aWidth) override { return _to GetWidth(aWidth); } \
52 : NS_IMETHOD SetWidth(int32_t aWidth) override { return _to SetWidth(aWidth); }
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_NSIDOMHTMLPREELEMENT(_to) \
56 : NS_IMETHOD GetWidth(int32_t *aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
57 : NS_IMETHOD SetWidth(int32_t aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
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 nsDOMHTMLPreElement : public nsIDOMHTMLPreElement
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMHTMLPREELEMENT
68 :
69 : nsDOMHTMLPreElement();
70 :
71 : private:
72 : ~nsDOMHTMLPreElement();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS(nsDOMHTMLPreElement, nsIDOMHTMLPreElement)
80 :
81 : nsDOMHTMLPreElement::nsDOMHTMLPreElement()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMHTMLPreElement::~nsDOMHTMLPreElement()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute long width; */
92 : NS_IMETHODIMP nsDOMHTMLPreElement::GetWidth(int32_t *aWidth)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsDOMHTMLPreElement::SetWidth(int32_t aWidth)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* End of implementation class template. */
102 : #endif
103 :
104 :
105 : #endif /* __gen_nsIDOMHTMLPreElement_h__ */
|