Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIRDFInMemoryDataSource.idl
3 : */
4 :
5 : #ifndef __gen_nsIRDFInMemoryDataSource_h__
6 : #define __gen_nsIRDFInMemoryDataSource_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIRDFResource_h__
14 : #include "nsIRDFResource.h"
15 : #endif
16 :
17 : #ifndef __gen_nsIRDFNode_h__
18 : #include "nsIRDFNode.h"
19 : #endif
20 :
21 : /* For IDL files that don't want to include root IDL files. */
22 : #ifndef NS_NO_VTABLE
23 : #define NS_NO_VTABLE
24 : #endif
25 :
26 : /* starting interface: nsIRDFInMemoryDataSource */
27 : #define NS_IRDFINMEMORYDATASOURCE_IID_STR "17c4e0aa-1dd2-11b2-8029-bf6f668de500"
28 :
29 : #define NS_IRDFINMEMORYDATASOURCE_IID \
30 : {0x17c4e0aa, 0x1dd2, 0x11b2, \
31 : { 0x80, 0x29, 0xbf, 0x6f, 0x66, 0x8d, 0xe5, 0x00 }}
32 :
33 3 : class NS_NO_VTABLE nsIRDFInMemoryDataSource : public nsISupports {
34 : public:
35 :
36 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFINMEMORYDATASOURCE_IID)
37 :
38 : /* void EnsureFastContainment (in nsIRDFResource aSource); */
39 : NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) = 0;
40 :
41 : };
42 :
43 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFInMemoryDataSource, NS_IRDFINMEMORYDATASOURCE_IID)
44 :
45 : /* Use this macro when declaring classes that implement this interface. */
46 : #define NS_DECL_NSIRDFINMEMORYDATASOURCE \
47 : NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIRDFINMEMORYDATASOURCE \
52 : nsresult EnsureFastContainment(nsIRDFResource *aSource);
53 :
54 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
55 : #define NS_FORWARD_NSIRDFINMEMORYDATASOURCE(_to) \
56 : NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) override { return _to EnsureFastContainment(aSource); }
57 :
58 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
59 : #define NS_FORWARD_SAFE_NSIRDFINMEMORYDATASOURCE(_to) \
60 : NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EnsureFastContainment(aSource); }
61 :
62 : #if 0
63 : /* Use the code below as a template for the implementation class for this interface. */
64 :
65 : /* Header file */
66 : class nsRDFInMemoryDataSource : public nsIRDFInMemoryDataSource
67 : {
68 : public:
69 : NS_DECL_ISUPPORTS
70 : NS_DECL_NSIRDFINMEMORYDATASOURCE
71 :
72 : nsRDFInMemoryDataSource();
73 :
74 : private:
75 : ~nsRDFInMemoryDataSource();
76 :
77 : protected:
78 : /* additional members */
79 : };
80 :
81 : /* Implementation file */
82 : NS_IMPL_ISUPPORTS(nsRDFInMemoryDataSource, nsIRDFInMemoryDataSource)
83 :
84 : nsRDFInMemoryDataSource::nsRDFInMemoryDataSource()
85 : {
86 : /* member initializers and constructor code */
87 : }
88 :
89 : nsRDFInMemoryDataSource::~nsRDFInMemoryDataSource()
90 : {
91 : /* destructor code */
92 : }
93 :
94 : /* void EnsureFastContainment (in nsIRDFResource aSource); */
95 : NS_IMETHODIMP nsRDFInMemoryDataSource::EnsureFastContainment(nsIRDFResource *aSource)
96 : {
97 : return NS_ERROR_NOT_IMPLEMENTED;
98 : }
99 :
100 : /* End of implementation class template. */
101 : #endif
102 :
103 :
104 : #endif /* __gen_nsIRDFInMemoryDataSource_h__ */
|