Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLParagraphElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLParagraphElement_h__
6 : #define __gen_nsIDOMHTMLParagraphElement_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: nsIDOMHTMLParagraphElement */
19 : #define NS_IDOMHTMLPARAGRAPHELEMENT_IID_STR "b494e517-2388-4a63-80e7-2f73be3c38a3"
20 :
21 : #define NS_IDOMHTMLPARAGRAPHELEMENT_IID \
22 : {0xb494e517, 0x2388, 0x4a63, \
23 : { 0x80, 0xe7, 0x2f, 0x73, 0xbe, 0x3c, 0x38, 0xa3 }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMHTMLParagraphElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPARAGRAPHELEMENT_IID)
29 :
30 : /* attribute DOMString align; */
31 : NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
32 : NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
33 :
34 : };
35 :
36 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLParagraphElement, NS_IDOMHTMLPARAGRAPHELEMENT_IID)
37 :
38 : /* Use this macro when declaring classes that implement this interface. */
39 : #define NS_DECL_NSIDOMHTMLPARAGRAPHELEMENT \
40 : NS_IMETHOD GetAlign(nsAString & aAlign) override; \
41 : NS_IMETHOD SetAlign(const nsAString & aAlign) 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_NSIDOMHTMLPARAGRAPHELEMENT \
46 : nsresult GetAlign(nsAString & aAlign); \
47 : nsresult SetAlign(const nsAString & aAlign);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMHTMLPARAGRAPHELEMENT(_to) \
51 : NS_IMETHOD GetAlign(nsAString & aAlign) override { return _to GetAlign(aAlign); } \
52 : NS_IMETHOD SetAlign(const nsAString & aAlign) override { return _to SetAlign(aAlign); }
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_NSIDOMHTMLPARAGRAPHELEMENT(_to) \
56 : NS_IMETHOD GetAlign(nsAString & aAlign) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
57 : NS_IMETHOD SetAlign(const nsAString & aAlign) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); }
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 nsDOMHTMLParagraphElement : public nsIDOMHTMLParagraphElement
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMHTMLPARAGRAPHELEMENT
68 :
69 : nsDOMHTMLParagraphElement();
70 :
71 : private:
72 : ~nsDOMHTMLParagraphElement();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS(nsDOMHTMLParagraphElement, nsIDOMHTMLParagraphElement)
80 :
81 : nsDOMHTMLParagraphElement::nsDOMHTMLParagraphElement()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMHTMLParagraphElement::~nsDOMHTMLParagraphElement()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute DOMString align; */
92 : NS_IMETHODIMP nsDOMHTMLParagraphElement::GetAlign(nsAString & aAlign)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsDOMHTMLParagraphElement::SetAlign(const nsAString & aAlign)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* End of implementation class template. */
102 : #endif
103 :
104 :
105 : #endif /* __gen_nsIDOMHTMLParagraphElement_h__ */
|