1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/rdf/base/idl/nsIRDFRemoteDataSource.idl
3 : */
4 :
5 : #ifndef __gen_nsIRDFRemoteDataSource_h__
6 : #define __gen_nsIRDFRemoteDataSource_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.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: nsIRDFRemoteDataSource */
19 : #define NS_IRDFREMOTEDATASOURCE_IID_STR "1d297320-27f7-11d3-be01-000064657374"
20 :
21 : #define NS_IRDFREMOTEDATASOURCE_IID \
22 : {0x1d297320, 0x27f7, 0x11d3, \
23 : { 0xbe, 0x01, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}
24 :
25 10 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRDFRemoteDataSource : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFREMOTEDATASOURCE_IID)
29 :
30 : /* readonly attribute boolean loaded; */
31 : NS_SCRIPTABLE NS_IMETHOD GetLoaded(bool *aLoaded) = 0;
32 :
33 : /* void Init (in string aURI); */
34 : NS_SCRIPTABLE NS_IMETHOD Init(const char * aURI) = 0;
35 :
36 : /* void Refresh (in boolean aBlocking); */
37 : NS_SCRIPTABLE NS_IMETHOD Refresh(bool aBlocking) = 0;
38 :
39 : /* void Flush (); */
40 : NS_SCRIPTABLE NS_IMETHOD Flush(void) = 0;
41 :
42 : /* void FlushTo (in string aURI); */
43 : NS_SCRIPTABLE NS_IMETHOD FlushTo(const char * aURI) = 0;
44 :
45 : };
46 :
47 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFRemoteDataSource, NS_IRDFREMOTEDATASOURCE_IID)
48 :
49 : /* Use this macro when declaring classes that implement this interface. */
50 : #define NS_DECL_NSIRDFREMOTEDATASOURCE \
51 : NS_SCRIPTABLE NS_IMETHOD GetLoaded(bool *aLoaded); \
52 : NS_SCRIPTABLE NS_IMETHOD Init(const char * aURI); \
53 : NS_SCRIPTABLE NS_IMETHOD Refresh(bool aBlocking); \
54 : NS_SCRIPTABLE NS_IMETHOD Flush(void); \
55 : NS_SCRIPTABLE NS_IMETHOD FlushTo(const char * aURI);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_NSIRDFREMOTEDATASOURCE(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD GetLoaded(bool *aLoaded) { return _to GetLoaded(aLoaded); } \
60 : NS_SCRIPTABLE NS_IMETHOD Init(const char * aURI) { return _to Init(aURI); } \
61 : NS_SCRIPTABLE NS_IMETHOD Refresh(bool aBlocking) { return _to Refresh(aBlocking); } \
62 : NS_SCRIPTABLE NS_IMETHOD Flush(void) { return _to Flush(); } \
63 : NS_SCRIPTABLE NS_IMETHOD FlushTo(const char * aURI) { return _to FlushTo(aURI); }
64 :
65 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
66 : #define NS_FORWARD_SAFE_NSIRDFREMOTEDATASOURCE(_to) \
67 : NS_SCRIPTABLE NS_IMETHOD GetLoaded(bool *aLoaded) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoaded(aLoaded); } \
68 : NS_SCRIPTABLE NS_IMETHOD Init(const char * aURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aURI); } \
69 : NS_SCRIPTABLE NS_IMETHOD Refresh(bool aBlocking) { return !_to ? NS_ERROR_NULL_POINTER : _to->Refresh(aBlocking); } \
70 : NS_SCRIPTABLE NS_IMETHOD Flush(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Flush(); } \
71 : NS_SCRIPTABLE NS_IMETHOD FlushTo(const char * aURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->FlushTo(aURI); }
72 :
73 : #if 0
74 : /* Use the code below as a template for the implementation class for this interface. */
75 :
76 : /* Header file */
77 : class nsRDFRemoteDataSource : public nsIRDFRemoteDataSource
78 : {
79 : public:
80 : NS_DECL_ISUPPORTS
81 : NS_DECL_NSIRDFREMOTEDATASOURCE
82 :
83 : nsRDFRemoteDataSource();
84 :
85 : private:
86 : ~nsRDFRemoteDataSource();
87 :
88 : protected:
89 : /* additional members */
90 : };
91 :
92 : /* Implementation file */
93 : NS_IMPL_ISUPPORTS1(nsRDFRemoteDataSource, nsIRDFRemoteDataSource)
94 :
95 : nsRDFRemoteDataSource::nsRDFRemoteDataSource()
96 : {
97 : /* member initializers and constructor code */
98 : }
99 :
100 : nsRDFRemoteDataSource::~nsRDFRemoteDataSource()
101 : {
102 : /* destructor code */
103 : }
104 :
105 : /* readonly attribute boolean loaded; */
106 : NS_IMETHODIMP nsRDFRemoteDataSource::GetLoaded(bool *aLoaded)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* void Init (in string aURI); */
112 : NS_IMETHODIMP nsRDFRemoteDataSource::Init(const char * aURI)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* void Refresh (in boolean aBlocking); */
118 : NS_IMETHODIMP nsRDFRemoteDataSource::Refresh(bool aBlocking)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* void Flush (); */
124 : NS_IMETHODIMP nsRDFRemoteDataSource::Flush()
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 :
129 : /* void FlushTo (in string aURI); */
130 : NS_IMETHODIMP nsRDFRemoteDataSource::FlushTo(const char * aURI)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* End of implementation class template. */
136 : #endif
137 :
138 :
139 : #endif /* __gen_nsIRDFRemoteDataSource_h__ */
|