1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/rdf/base/idl/nsIRDFPropagatableDataSource.idl
3 : */
4 :
5 : #ifndef __gen_nsIRDFPropagatableDataSource_h__
6 : #define __gen_nsIRDFPropagatableDataSource_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: nsIRDFPropagatableDataSource */
19 : #define NS_IRDFPROPAGATABLEDATASOURCE_IID_STR "5a9b4770-9fcb-4307-a12e-4b6708e78b97"
20 :
21 : #define NS_IRDFPROPAGATABLEDATASOURCE_IID \
22 : {0x5a9b4770, 0x9fcb, 0x4307, \
23 : { 0xa1, 0x2e, 0x4b, 0x67, 0x08, 0xe7, 0x8b, 0x97 }}
24 :
25 2072 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRDFPropagatableDataSource : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFPROPAGATABLEDATASOURCE_IID)
29 :
30 : /* attribute boolean propagateChanges; */
31 : NS_SCRIPTABLE NS_IMETHOD GetPropagateChanges(bool *aPropagateChanges) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetPropagateChanges(bool aPropagateChanges) = 0;
33 :
34 : };
35 :
36 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFPropagatableDataSource, NS_IRDFPROPAGATABLEDATASOURCE_IID)
37 :
38 : /* Use this macro when declaring classes that implement this interface. */
39 : #define NS_DECL_NSIRDFPROPAGATABLEDATASOURCE \
40 : NS_SCRIPTABLE NS_IMETHOD GetPropagateChanges(bool *aPropagateChanges); \
41 : NS_SCRIPTABLE NS_IMETHOD SetPropagateChanges(bool aPropagateChanges);
42 :
43 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
44 : #define NS_FORWARD_NSIRDFPROPAGATABLEDATASOURCE(_to) \
45 : NS_SCRIPTABLE NS_IMETHOD GetPropagateChanges(bool *aPropagateChanges) { return _to GetPropagateChanges(aPropagateChanges); } \
46 : NS_SCRIPTABLE NS_IMETHOD SetPropagateChanges(bool aPropagateChanges) { return _to SetPropagateChanges(aPropagateChanges); }
47 :
48 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
49 : #define NS_FORWARD_SAFE_NSIRDFPROPAGATABLEDATASOURCE(_to) \
50 : NS_SCRIPTABLE NS_IMETHOD GetPropagateChanges(bool *aPropagateChanges) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropagateChanges(aPropagateChanges); } \
51 : NS_SCRIPTABLE NS_IMETHOD SetPropagateChanges(bool aPropagateChanges) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropagateChanges(aPropagateChanges); }
52 :
53 : #if 0
54 : /* Use the code below as a template for the implementation class for this interface. */
55 :
56 : /* Header file */
57 : class nsRDFPropagatableDataSource : public nsIRDFPropagatableDataSource
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSIRDFPROPAGATABLEDATASOURCE
62 :
63 : nsRDFPropagatableDataSource();
64 :
65 : private:
66 : ~nsRDFPropagatableDataSource();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsRDFPropagatableDataSource, nsIRDFPropagatableDataSource)
74 :
75 : nsRDFPropagatableDataSource::nsRDFPropagatableDataSource()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsRDFPropagatableDataSource::~nsRDFPropagatableDataSource()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* attribute boolean propagateChanges; */
86 : NS_IMETHODIMP nsRDFPropagatableDataSource::GetPropagateChanges(bool *aPropagateChanges)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 : NS_IMETHODIMP nsRDFPropagatableDataSource::SetPropagateChanges(bool aPropagateChanges)
91 : {
92 : return NS_ERROR_NOT_IMPLEMENTED;
93 : }
94 :
95 : /* End of implementation class template. */
96 : #endif
97 :
98 :
99 : #endif /* __gen_nsIRDFPropagatableDataSource_h__ */
|