Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIRDFXMLSource.idl
3 : */
4 :
5 : #ifndef __gen_nsIRDFXMLSource_h__
6 : #define __gen_nsIRDFXMLSource_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIOutputStream_h__
14 : #include "nsIOutputStream.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 :
22 : /* starting interface: nsIRDFXMLSource */
23 : #define NS_IRDFXMLSOURCE_IID_STR "4da56f10-99fe-11d2-8ebb-00805f29f370"
24 :
25 : #define NS_IRDFXMLSOURCE_IID \
26 : {0x4da56f10, 0x99fe, 0x11d2, \
27 : { 0x8e, 0xbb, 0x00, 0x80, 0x5f, 0x29, 0xf3, 0x70 }}
28 :
29 0 : class NS_NO_VTABLE nsIRDFXMLSource : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFXMLSOURCE_IID)
33 :
34 : /* void Serialize (in nsIOutputStream aStream); */
35 : NS_IMETHOD Serialize(nsIOutputStream *aStream) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFXMLSource, NS_IRDFXMLSOURCE_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSIRDFXMLSOURCE \
43 : NS_IMETHOD Serialize(nsIOutputStream *aStream) override;
44 :
45 : /* Use this macro when declaring the members of this interface when the
46 : class doesn't implement the interface. This is useful for forwarding. */
47 : #define NS_DECL_NON_VIRTUAL_NSIRDFXMLSOURCE \
48 : nsresult Serialize(nsIOutputStream *aStream);
49 :
50 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
51 : #define NS_FORWARD_NSIRDFXMLSOURCE(_to) \
52 : NS_IMETHOD Serialize(nsIOutputStream *aStream) override { return _to Serialize(aStream); }
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_NSIRDFXMLSOURCE(_to) \
56 : NS_IMETHOD Serialize(nsIOutputStream *aStream) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Serialize(aStream); }
57 :
58 : #if 0
59 : /* Use the code below as a template for the implementation class for this interface. */
60 :
61 : /* Header file */
62 : class nsRDFXMLSource : public nsIRDFXMLSource
63 : {
64 : public:
65 : NS_DECL_ISUPPORTS
66 : NS_DECL_NSIRDFXMLSOURCE
67 :
68 : nsRDFXMLSource();
69 :
70 : private:
71 : ~nsRDFXMLSource();
72 :
73 : protected:
74 : /* additional members */
75 : };
76 :
77 : /* Implementation file */
78 : NS_IMPL_ISUPPORTS(nsRDFXMLSource, nsIRDFXMLSource)
79 :
80 : nsRDFXMLSource::nsRDFXMLSource()
81 : {
82 : /* member initializers and constructor code */
83 : }
84 :
85 : nsRDFXMLSource::~nsRDFXMLSource()
86 : {
87 : /* destructor code */
88 : }
89 :
90 : /* void Serialize (in nsIOutputStream aStream); */
91 : NS_IMETHODIMP nsRDFXMLSource::Serialize(nsIOutputStream *aStream)
92 : {
93 : return NS_ERROR_NOT_IMPLEMENTED;
94 : }
95 :
96 : /* End of implementation class template. */
97 : #endif
98 :
99 :
100 : #endif /* __gen_nsIRDFXMLSource_h__ */
|