Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLQuoteElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLQuoteElement_h__
6 : #define __gen_nsIDOMHTMLQuoteElement_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: nsIDOMHTMLQuoteElement */
19 : #define NS_IDOMHTMLQUOTEELEMENT_IID_STR "f02502b5-32a6-4df7-8a57-1416553a3188"
20 :
21 : #define NS_IDOMHTMLQUOTEELEMENT_IID \
22 : {0xf02502b5, 0x32a6, 0x4df7, \
23 : { 0x8a, 0x57, 0x14, 0x16, 0x55, 0x3a, 0x31, 0x88 }}
24 :
25 14 : class NS_NO_VTABLE nsIDOMHTMLQuoteElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLQUOTEELEMENT_IID)
29 :
30 : /* attribute DOMString cite; */
31 : NS_IMETHOD GetCite(nsAString & aCite) = 0;
32 : NS_IMETHOD SetCite(const nsAString & aCite) = 0;
33 :
34 : };
35 :
36 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLQuoteElement, NS_IDOMHTMLQUOTEELEMENT_IID)
37 :
38 : /* Use this macro when declaring classes that implement this interface. */
39 : #define NS_DECL_NSIDOMHTMLQUOTEELEMENT \
40 : NS_IMETHOD GetCite(nsAString & aCite) override; \
41 : NS_IMETHOD SetCite(const nsAString & aCite) 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_NSIDOMHTMLQUOTEELEMENT \
46 : nsresult GetCite(nsAString & aCite); \
47 : nsresult SetCite(const nsAString & aCite);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMHTMLQUOTEELEMENT(_to) \
51 : NS_IMETHOD GetCite(nsAString & aCite) override { return _to GetCite(aCite); } \
52 : NS_IMETHOD SetCite(const nsAString & aCite) override { return _to SetCite(aCite); }
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_NSIDOMHTMLQUOTEELEMENT(_to) \
56 : NS_IMETHOD GetCite(nsAString & aCite) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCite(aCite); } \
57 : NS_IMETHOD SetCite(const nsAString & aCite) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCite(aCite); }
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 nsDOMHTMLQuoteElement : public nsIDOMHTMLQuoteElement
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMHTMLQUOTEELEMENT
68 :
69 : nsDOMHTMLQuoteElement();
70 :
71 : private:
72 : ~nsDOMHTMLQuoteElement();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS(nsDOMHTMLQuoteElement, nsIDOMHTMLQuoteElement)
80 :
81 : nsDOMHTMLQuoteElement::nsDOMHTMLQuoteElement()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMHTMLQuoteElement::~nsDOMHTMLQuoteElement()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute DOMString cite; */
92 : NS_IMETHODIMP nsDOMHTMLQuoteElement::GetCite(nsAString & aCite)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsDOMHTMLQuoteElement::SetCite(const nsAString & aCite)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* End of implementation class template. */
102 : #endif
103 :
104 :
105 : #endif /* __gen_nsIDOMHTMLQuoteElement_h__ */
|