Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/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 3 : class NS_NO_VTABLE nsIRDFPropagatableDataSource : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFPROPAGATABLEDATASOURCE_IID)
29 :
30 : /* attribute boolean propagateChanges; */
31 : NS_IMETHOD GetPropagateChanges(bool *aPropagateChanges) = 0;
32 : 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_IMETHOD GetPropagateChanges(bool *aPropagateChanges) override; \
41 : NS_IMETHOD SetPropagateChanges(bool aPropagateChanges) 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_NSIRDFPROPAGATABLEDATASOURCE \
46 : nsresult GetPropagateChanges(bool *aPropagateChanges); \
47 : nsresult SetPropagateChanges(bool aPropagateChanges);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIRDFPROPAGATABLEDATASOURCE(_to) \
51 : NS_IMETHOD GetPropagateChanges(bool *aPropagateChanges) override { return _to GetPropagateChanges(aPropagateChanges); } \
52 : NS_IMETHOD SetPropagateChanges(bool aPropagateChanges) override { return _to SetPropagateChanges(aPropagateChanges); }
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_NSIRDFPROPAGATABLEDATASOURCE(_to) \
56 : NS_IMETHOD GetPropagateChanges(bool *aPropagateChanges) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropagateChanges(aPropagateChanges); } \
57 : NS_IMETHOD SetPropagateChanges(bool aPropagateChanges) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropagateChanges(aPropagateChanges); }
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 nsRDFPropagatableDataSource : public nsIRDFPropagatableDataSource
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIRDFPROPAGATABLEDATASOURCE
68 :
69 : nsRDFPropagatableDataSource();
70 :
71 : private:
72 : ~nsRDFPropagatableDataSource();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS(nsRDFPropagatableDataSource, nsIRDFPropagatableDataSource)
80 :
81 : nsRDFPropagatableDataSource::nsRDFPropagatableDataSource()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsRDFPropagatableDataSource::~nsRDFPropagatableDataSource()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute boolean propagateChanges; */
92 : NS_IMETHODIMP nsRDFPropagatableDataSource::GetPropagateChanges(bool *aPropagateChanges)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsRDFPropagatableDataSource::SetPropagateChanges(bool aPropagateChanges)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* End of implementation class template. */
102 : #endif
103 :
104 :
105 : #endif /* __gen_nsIRDFPropagatableDataSource_h__ */
|