/usr/include/thunderbird/calITimezoneProvider.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/calITimezoneProvider.idl
*/
#ifndef __gen_calITimezoneProvider_h__
#define __gen_calITimezoneProvider_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIUTF8StringEnumerator; /* forward declaration */
class calITimezone; /* forward declaration */
/* starting interface: calITimezoneProvider */
#define CALITIMEZONEPROVIDER_IID_STR "331a7c6d-805a-4926-940b-2d78dcd90554"
#define CALITIMEZONEPROVIDER_IID \
{0x331a7c6d, 0x805a, 0x4926, \
{ 0x94, 0x0b, 0x2d, 0x78, 0xdc, 0xd9, 0x05, 0x54 }}
class NS_NO_VTABLE calITimezoneProvider : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALITIMEZONEPROVIDER_IID)
/* readonly attribute nsIUTF8StringEnumerator timezoneIds; */
NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator * *aTimezoneIds) = 0;
/* readonly attribute nsIUTF8StringEnumerator aliasIds; */
NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator * *aAliasIds) = 0;
/* calITimezone getTimezone (in AUTF8String tzid); */
NS_IMETHOD GetTimezone(const nsACString & tzid, calITimezone * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calITimezoneProvider, CALITIMEZONEPROVIDER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALITIMEZONEPROVIDER \
NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator * *aTimezoneIds) override; \
NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator * *aAliasIds) override; \
NS_IMETHOD GetTimezone(const nsACString & tzid, calITimezone * *_retval) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALITIMEZONEPROVIDER \
NS_METHOD GetTimezoneIds(nsIUTF8StringEnumerator * *aTimezoneIds); \
NS_METHOD GetAliasIds(nsIUTF8StringEnumerator * *aAliasIds); \
NS_METHOD GetTimezone(const nsACString & tzid, calITimezone * *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALITIMEZONEPROVIDER(_to) \
NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator * *aTimezoneIds) override { return _to GetTimezoneIds(aTimezoneIds); } \
NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator * *aAliasIds) override { return _to GetAliasIds(aAliasIds); } \
NS_IMETHOD GetTimezone(const nsACString & tzid, calITimezone * *_retval) override { return _to GetTimezone(tzid, _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_CALITIMEZONEPROVIDER(_to) \
NS_IMETHOD GetTimezoneIds(nsIUTF8StringEnumerator * *aTimezoneIds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimezoneIds(aTimezoneIds); } \
NS_IMETHOD GetAliasIds(nsIUTF8StringEnumerator * *aAliasIds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAliasIds(aAliasIds); } \
NS_IMETHOD GetTimezone(const nsACString & tzid, calITimezone * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimezone(tzid, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calITimezoneProvider
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALITIMEZONEPROVIDER
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calITimezoneProvider)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute nsIUTF8StringEnumerator timezoneIds; */
NS_IMETHODIMP _MYCLASS_::GetTimezoneIds(nsIUTF8StringEnumerator * *aTimezoneIds)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIUTF8StringEnumerator aliasIds; */
NS_IMETHODIMP _MYCLASS_::GetAliasIds(nsIUTF8StringEnumerator * *aAliasIds)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* calITimezone getTimezone (in AUTF8String tzid); */
NS_IMETHODIMP _MYCLASS_::GetTimezone(const nsACString & tzid, calITimezone * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: calITimezoneService */
#define CALITIMEZONESERVICE_IID_STR "ab1bfe6a-ee95-4038-b594-34aeeda9911a"
#define CALITIMEZONESERVICE_IID \
{0xab1bfe6a, 0xee95, 0x4038, \
{ 0xb5, 0x94, 0x34, 0xae, 0xed, 0xa9, 0x91, 0x1a }}
class NS_NO_VTABLE calITimezoneService : public calITimezoneProvider {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALITIMEZONESERVICE_IID)
/* readonly attribute calITimezone floating; */
NS_IMETHOD GetFloating(calITimezone * *aFloating) = 0;
/* readonly attribute calITimezone UTC; */
NS_IMETHOD GetUTC(calITimezone * *aUTC) = 0;
/* readonly attribute AString version; */
NS_IMETHOD GetVersion(nsAString & aVersion) = 0;
/* readonly attribute calITimezone defaultTimezone; */
NS_IMETHOD GetDefaultTimezone(calITimezone * *aDefaultTimezone) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calITimezoneService, CALITIMEZONESERVICE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALITIMEZONESERVICE \
NS_IMETHOD GetFloating(calITimezone * *aFloating) override; \
NS_IMETHOD GetUTC(calITimezone * *aUTC) override; \
NS_IMETHOD GetVersion(nsAString & aVersion) override; \
NS_IMETHOD GetDefaultTimezone(calITimezone * *aDefaultTimezone) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALITIMEZONESERVICE \
NS_METHOD GetFloating(calITimezone * *aFloating); \
NS_METHOD GetUTC(calITimezone * *aUTC); \
NS_METHOD GetVersion(nsAString & aVersion); \
NS_METHOD GetDefaultTimezone(calITimezone * *aDefaultTimezone);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALITIMEZONESERVICE(_to) \
NS_IMETHOD GetFloating(calITimezone * *aFloating) override { return _to GetFloating(aFloating); } \
NS_IMETHOD GetUTC(calITimezone * *aUTC) override { return _to GetUTC(aUTC); } \
NS_IMETHOD GetVersion(nsAString & aVersion) override { return _to GetVersion(aVersion); } \
NS_IMETHOD GetDefaultTimezone(calITimezone * *aDefaultTimezone) override { return _to GetDefaultTimezone(aDefaultTimezone); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALITIMEZONESERVICE(_to) \
NS_IMETHOD GetFloating(calITimezone * *aFloating) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFloating(aFloating); } \
NS_IMETHOD GetUTC(calITimezone * *aUTC) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUTC(aUTC); } \
NS_IMETHOD GetVersion(nsAString & aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
NS_IMETHOD GetDefaultTimezone(calITimezone * *aDefaultTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultTimezone(aDefaultTimezone); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calITimezoneService
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALITIMEZONESERVICE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calITimezoneService)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute calITimezone floating; */
NS_IMETHODIMP _MYCLASS_::GetFloating(calITimezone * *aFloating)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calITimezone UTC; */
NS_IMETHODIMP _MYCLASS_::GetUTC(calITimezone * *aUTC)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString version; */
NS_IMETHODIMP _MYCLASS_::GetVersion(nsAString & aVersion)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calITimezone defaultTimezone; */
NS_IMETHODIMP _MYCLASS_::GetDefaultTimezone(calITimezone * *aDefaultTimezone)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_calITimezoneProvider_h__ */
|