/usr/include/thunderbird/calITimezone.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/calITimezone.idl
*/
#ifndef __gen_calITimezone_h__
#define __gen_calITimezone_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 calIIcalComponent; /* forward declaration */
class calITimezoneProvider; /* forward declaration */
/* starting interface: calITimezone */
#define CALITIMEZONE_IID_STR "d79161e7-0db9-427d-a0c3-27e0db3b030f"
#define CALITIMEZONE_IID \
{0xd79161e7, 0x0db9, 0x427d, \
{ 0xa0, 0xc3, 0x27, 0xe0, 0xdb, 0x3b, 0x03, 0x0f }}
class NS_NO_VTABLE calITimezone : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALITIMEZONE_IID)
/* readonly attribute calITimezoneProvider provider; */
NS_IMETHOD GetProvider(calITimezoneProvider * *aProvider) = 0;
/* readonly attribute calIIcalComponent icalComponent; */
NS_IMETHOD GetIcalComponent(calIIcalComponent * *aIcalComponent) = 0;
/* readonly attribute AUTF8String tzid; */
NS_IMETHOD GetTzid(nsACString & aTzid) = 0;
/* readonly attribute boolean isFloating; */
NS_IMETHOD GetIsFloating(bool *aIsFloating) = 0;
/* readonly attribute boolean isUTC; */
NS_IMETHOD GetIsUTC(bool *aIsUTC) = 0;
/* readonly attribute AUTF8String latitude; */
NS_IMETHOD GetLatitude(nsACString & aLatitude) = 0;
/* readonly attribute AUTF8String longitude; */
NS_IMETHOD GetLongitude(nsACString & aLongitude) = 0;
/* readonly attribute AString displayName; */
NS_IMETHOD GetDisplayName(nsAString & aDisplayName) = 0;
/* AUTF8String toString (); */
NS_IMETHOD ToString(nsACString & _retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calITimezone, CALITIMEZONE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALITIMEZONE \
NS_IMETHOD GetProvider(calITimezoneProvider * *aProvider) override; \
NS_IMETHOD GetIcalComponent(calIIcalComponent * *aIcalComponent) override; \
NS_IMETHOD GetTzid(nsACString & aTzid) override; \
NS_IMETHOD GetIsFloating(bool *aIsFloating) override; \
NS_IMETHOD GetIsUTC(bool *aIsUTC) override; \
NS_IMETHOD GetLatitude(nsACString & aLatitude) override; \
NS_IMETHOD GetLongitude(nsACString & aLongitude) override; \
NS_IMETHOD GetDisplayName(nsAString & aDisplayName) override; \
NS_IMETHOD ToString(nsACString & _retval) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALITIMEZONE(_to) \
NS_IMETHOD GetProvider(calITimezoneProvider * *aProvider) override { return _to GetProvider(aProvider); } \
NS_IMETHOD GetIcalComponent(calIIcalComponent * *aIcalComponent) override { return _to GetIcalComponent(aIcalComponent); } \
NS_IMETHOD GetTzid(nsACString & aTzid) override { return _to GetTzid(aTzid); } \
NS_IMETHOD GetIsFloating(bool *aIsFloating) override { return _to GetIsFloating(aIsFloating); } \
NS_IMETHOD GetIsUTC(bool *aIsUTC) override { return _to GetIsUTC(aIsUTC); } \
NS_IMETHOD GetLatitude(nsACString & aLatitude) override { return _to GetLatitude(aLatitude); } \
NS_IMETHOD GetLongitude(nsACString & aLongitude) override { return _to GetLongitude(aLongitude); } \
NS_IMETHOD GetDisplayName(nsAString & aDisplayName) override { return _to GetDisplayName(aDisplayName); } \
NS_IMETHOD ToString(nsACString & _retval) override { return _to ToString(_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_CALITIMEZONE(_to) \
NS_IMETHOD GetProvider(calITimezoneProvider * *aProvider) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProvider(aProvider); } \
NS_IMETHOD GetIcalComponent(calIIcalComponent * *aIcalComponent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalComponent(aIcalComponent); } \
NS_IMETHOD GetTzid(nsACString & aTzid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTzid(aTzid); } \
NS_IMETHOD GetIsFloating(bool *aIsFloating) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFloating(aIsFloating); } \
NS_IMETHOD GetIsUTC(bool *aIsUTC) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsUTC(aIsUTC); } \
NS_IMETHOD GetLatitude(nsACString & aLatitude) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLatitude(aLatitude); } \
NS_IMETHOD GetLongitude(nsACString & aLongitude) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongitude(aLongitude); } \
NS_IMETHOD GetDisplayName(nsAString & aDisplayName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayName(aDisplayName); } \
NS_IMETHOD ToString(nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calITimezone
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALITIMEZONE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calITimezone)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute calITimezoneProvider provider; */
NS_IMETHODIMP _MYCLASS_::GetProvider(calITimezoneProvider * *aProvider)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calIIcalComponent icalComponent; */
NS_IMETHODIMP _MYCLASS_::GetIcalComponent(calIIcalComponent * *aIcalComponent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String tzid; */
NS_IMETHODIMP _MYCLASS_::GetTzid(nsACString & aTzid)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isFloating; */
NS_IMETHODIMP _MYCLASS_::GetIsFloating(bool *aIsFloating)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isUTC; */
NS_IMETHODIMP _MYCLASS_::GetIsUTC(bool *aIsUTC)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String latitude; */
NS_IMETHODIMP _MYCLASS_::GetLatitude(nsACString & aLatitude)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String longitude; */
NS_IMETHODIMP _MYCLASS_::GetLongitude(nsACString & aLongitude)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString displayName; */
NS_IMETHODIMP _MYCLASS_::GetDisplayName(nsAString & aDisplayName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AUTF8String toString (); */
NS_IMETHODIMP _MYCLASS_::ToString(nsACString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_calITimezone_h__ */
|