/usr/include/thunderbird/calIOperation.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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/calIOperation.idl
*/
#ifndef __gen_calIOperation_h__
#define __gen_calIOperation_h__
#ifndef __gen_nsIVariant_h__
#include "nsIVariant.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: calIOperation */
#define CALIOPERATION_IID_STR "b96c2997-7aaa-4619-ad48-b7ebd9236c93"
#define CALIOPERATION_IID \
{0xb96c2997, 0x7aaa, 0x4619, \
{ 0xad, 0x48, 0xb7, 0xeb, 0xd9, 0x23, 0x6c, 0x93 }}
class NS_NO_VTABLE calIOperation : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALIOPERATION_IID)
/* readonly attribute AUTF8String id; */
NS_IMETHOD GetId(nsACString & aId) = 0;
/* readonly attribute boolean isPending; */
NS_IMETHOD GetIsPending(bool *aIsPending) = 0;
/* readonly attribute nsIVariant status; */
NS_IMETHOD GetStatus(nsIVariant * *aStatus) = 0;
/* void cancel ([optional] in nsIVariant aStatus); */
NS_IMETHOD Cancel(nsIVariant *aStatus) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calIOperation, CALIOPERATION_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIOPERATION \
NS_IMETHOD GetId(nsACString & aId) override; \
NS_IMETHOD GetIsPending(bool *aIsPending) override; \
NS_IMETHOD GetStatus(nsIVariant * *aStatus) override; \
NS_IMETHOD Cancel(nsIVariant *aStatus) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIOPERATION(_to) \
NS_IMETHOD GetId(nsACString & aId) override { return _to GetId(aId); } \
NS_IMETHOD GetIsPending(bool *aIsPending) override { return _to GetIsPending(aIsPending); } \
NS_IMETHOD GetStatus(nsIVariant * *aStatus) override { return _to GetStatus(aStatus); } \
NS_IMETHOD Cancel(nsIVariant *aStatus) override { return _to Cancel(aStatus); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIOPERATION(_to) \
NS_IMETHOD GetId(nsACString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
NS_IMETHOD GetIsPending(bool *aIsPending) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsPending(aIsPending); } \
NS_IMETHOD GetStatus(nsIVariant * *aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatus(aStatus); } \
NS_IMETHOD Cancel(nsIVariant *aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Cancel(aStatus); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calIOperation
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALIOPERATION
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIOperation)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute AUTF8String id; */
NS_IMETHODIMP _MYCLASS_::GetId(nsACString & aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isPending; */
NS_IMETHODIMP _MYCLASS_::GetIsPending(bool *aIsPending)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIVariant status; */
NS_IMETHODIMP _MYCLASS_::GetStatus(nsIVariant * *aStatus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void cancel ([optional] in nsIVariant aStatus); */
NS_IMETHODIMP _MYCLASS_::Cancel(nsIVariant *aStatus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: calIGenericOperationListener */
#define CALIGENERICOPERATIONLISTENER_IID_STR "1fa39726-63d2-440c-a464-296d2822b9da"
#define CALIGENERICOPERATIONLISTENER_IID \
{0x1fa39726, 0x63d2, 0x440c, \
{ 0xa4, 0x64, 0x29, 0x6d, 0x28, 0x22, 0xb9, 0xda }}
class NS_NO_VTABLE calIGenericOperationListener : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALIGENERICOPERATIONLISTENER_IID)
/* void onResult (in calIOperation aOperation, in nsIVariant aResult); */
NS_IMETHOD OnResult(calIOperation *aOperation, nsIVariant *aResult) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calIGenericOperationListener, CALIGENERICOPERATIONLISTENER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIGENERICOPERATIONLISTENER \
NS_IMETHOD OnResult(calIOperation *aOperation, nsIVariant *aResult) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIGENERICOPERATIONLISTENER(_to) \
NS_IMETHOD OnResult(calIOperation *aOperation, nsIVariant *aResult) override { return _to OnResult(aOperation, aResult); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIGENERICOPERATIONLISTENER(_to) \
NS_IMETHOD OnResult(calIOperation *aOperation, nsIVariant *aResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnResult(aOperation, aResult); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calIGenericOperationListener
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALIGENERICOPERATIONLISTENER
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIGenericOperationListener)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* void onResult (in calIOperation aOperation, in nsIVariant aResult); */
NS_IMETHODIMP _MYCLASS_::OnResult(calIOperation *aOperation, nsIVariant *aResult)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_calIOperation_h__ */
|