/usr/include/thunderbird/nsIRDFCompositeDataSource.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIRDFCompositeDataSource.idl
*/
#ifndef __gen_nsIRDFCompositeDataSource_h__
#define __gen_nsIRDFCompositeDataSource_h__
#ifndef __gen_nsIRDFDataSource_h__
#include "nsIRDFDataSource.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsISimpleEnumerator; /* forward declaration */
/* starting interface: nsIRDFCompositeDataSource */
#define NS_IRDFCOMPOSITEDATASOURCE_IID_STR "96343820-307c-11d2-bc15-00805f912fe7"
#define NS_IRDFCOMPOSITEDATASOURCE_IID \
{0x96343820, 0x307c, 0x11d2, \
{ 0xbc, 0x15, 0x00, 0x80, 0x5f, 0x91, 0x2f, 0xe7 }}
class NS_NO_VTABLE nsIRDFCompositeDataSource : public nsIRDFDataSource {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFCOMPOSITEDATASOURCE_IID)
/* attribute boolean allowNegativeAssertions; */
NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions) = 0;
NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions) = 0;
/* attribute boolean coalesceDuplicateArcs; */
NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs) = 0;
NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs) = 0;
/* void AddDataSource (in nsIRDFDataSource aDataSource); */
NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource) = 0;
/* void RemoveDataSource (in nsIRDFDataSource aDataSource); */
NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource) = 0;
/* nsISimpleEnumerator GetDataSources (); */
NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFCompositeDataSource, NS_IRDFCOMPOSITEDATASOURCE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRDFCOMPOSITEDATASOURCE \
NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions) override; \
NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions) override; \
NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs) override; \
NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs) override; \
NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource) override; \
NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource) override; \
NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRDFCOMPOSITEDATASOURCE(_to) \
NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions) override { return _to GetAllowNegativeAssertions(aAllowNegativeAssertions); } \
NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions) override { return _to SetAllowNegativeAssertions(aAllowNegativeAssertions); } \
NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs) override { return _to GetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs) override { return _to SetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource) override { return _to AddDataSource(aDataSource); } \
NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource) override { return _to RemoveDataSource(aDataSource); } \
NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval) override { return _to GetDataSources(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIRDFCOMPOSITEDATASOURCE(_to) \
NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllowNegativeAssertions(aAllowNegativeAssertions); } \
NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllowNegativeAssertions(aAllowNegativeAssertions); } \
NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddDataSource(aDataSource); } \
NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveDataSource(aDataSource); } \
NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataSources(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsRDFCompositeDataSource : public nsIRDFCompositeDataSource
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIRDFCOMPOSITEDATASOURCE
nsRDFCompositeDataSource();
private:
~nsRDFCompositeDataSource();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsRDFCompositeDataSource, nsIRDFCompositeDataSource)
nsRDFCompositeDataSource::nsRDFCompositeDataSource()
{
/* member initializers and constructor code */
}
nsRDFCompositeDataSource::~nsRDFCompositeDataSource()
{
/* destructor code */
}
/* attribute boolean allowNegativeAssertions; */
NS_IMETHODIMP nsRDFCompositeDataSource::GetAllowNegativeAssertions(bool *aAllowNegativeAssertions)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsRDFCompositeDataSource::SetAllowNegativeAssertions(bool aAllowNegativeAssertions)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean coalesceDuplicateArcs; */
NS_IMETHODIMP nsRDFCompositeDataSource::GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsRDFCompositeDataSource::SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void AddDataSource (in nsIRDFDataSource aDataSource); */
NS_IMETHODIMP nsRDFCompositeDataSource::AddDataSource(nsIRDFDataSource *aDataSource)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void RemoveDataSource (in nsIRDFDataSource aDataSource); */
NS_IMETHODIMP nsRDFCompositeDataSource::RemoveDataSource(nsIRDFDataSource *aDataSource)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator GetDataSources (); */
NS_IMETHODIMP nsRDFCompositeDataSource::GetDataSources(nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
extern nsresult
NS_NewRDFCompositeDataSource(nsIRDFCompositeDataSource** result);
#endif /* __gen_nsIRDFCompositeDataSource_h__ */
|