/usr/include/thunderbird/calIGoogleSession.h is in thunderbird-dev 1:24.4.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 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 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/calendar/providers/gdata/public/calIGoogleSession.idl
*/
#ifndef __gen_calIGoogleSession_h__
#define __gen_calIGoogleSession_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 calIGoogleSession; /* forward declaration */
class calIGoogleCalendar; /* forward declaration */
class calIEvent; /* forward declaration */
class calIDateTime; /* forward declaration */
class calIGenericOperationListener; /* forward declaration */
class calIOperationListener; /* forward declaration */
class calIGoogleRequest; /* forward declaration */
class calIOperation; /* forward declaration */
class nsIVariant; /* forward declaration */
/* starting interface: calIGoogleSessionManager */
#define CALIGOOGLESESSIONMANAGER_IID_STR "6a7ba1f0-f271-49b0-8e93-5ca33651b4af"
#define CALIGOOGLESESSIONMANAGER_IID \
{0x6a7ba1f0, 0xf271, 0x49b0, \
{ 0x8e, 0x93, 0x5c, 0xa3, 0x36, 0x51, 0xb4, 0xaf }}
class NS_NO_VTABLE calIGoogleSessionManager : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALIGOOGLESESSIONMANAGER_IID)
/* calIGoogleSession getSessionByUsername (in AUTF8String aUsername, in boolean aCreate); */
NS_IMETHOD GetSessionByUsername(const nsACString & aUsername, bool aCreate, calIGoogleSession * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calIGoogleSessionManager, CALIGOOGLESESSIONMANAGER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIGOOGLESESSIONMANAGER \
NS_IMETHOD GetSessionByUsername(const nsACString & aUsername, bool aCreate, calIGoogleSession * *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIGOOGLESESSIONMANAGER(_to) \
NS_IMETHOD GetSessionByUsername(const nsACString & aUsername, bool aCreate, calIGoogleSession * *_retval) { return _to GetSessionByUsername(aUsername, aCreate, _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_CALIGOOGLESESSIONMANAGER(_to) \
NS_IMETHOD GetSessionByUsername(const nsACString & aUsername, bool aCreate, calIGoogleSession * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSessionByUsername(aUsername, aCreate, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calIGoogleSessionManager
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALIGOOGLESESSIONMANAGER
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, calIGoogleSessionManager)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* calIGoogleSession getSessionByUsername (in AUTF8String aUsername, in boolean aCreate); */
NS_IMETHODIMP _MYCLASS_::GetSessionByUsername(const nsACString & aUsername, bool aCreate, calIGoogleSession * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: calIGoogleSession */
#define CALIGOOGLESESSION_IID_STR "652f6233-e03f-438a-bd3b-39877f68c0f4"
#define CALIGOOGLESESSION_IID \
{0x652f6233, 0xe03f, 0x438a, \
{ 0xbd, 0x3b, 0x39, 0x87, 0x7f, 0x68, 0xc0, 0xf4 }}
class NS_NO_VTABLE calIGoogleSession : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALIGOOGLESESSION_IID)
/* readonly attribute AUTF8String authToken; */
NS_IMETHOD GetAuthToken(nsACString & aAuthToken) = 0;
/* readonly attribute AUTF8String userName; */
NS_IMETHOD GetUserName(nsACString & aUserName) = 0;
/* attribute boolean persist; */
NS_IMETHOD GetPersist(bool *aPersist) = 0;
NS_IMETHOD SetPersist(bool aPersist) = 0;
/* attribute AUTF8String fullName; */
NS_IMETHOD GetFullName(nsACString & aFullName) = 0;
NS_IMETHOD SetFullName(const nsACString & aFullName) = 0;
/* attribute AUTF8String password; */
NS_IMETHOD GetPassword(nsACString & aPassword) = 0;
NS_IMETHOD SetPassword(const nsACString & aPassword) = 0;
/* void invalidate (); */
NS_IMETHOD Invalidate(void) = 0;
/* calIOperation getCalendars (in calIGenericOperationListener aListener); */
NS_IMETHOD GetCalendars(calIGenericOperationListener *aListener, calIOperation * *_retval) = 0;
/* void asyncItemRequest (in calIGoogleRequest aRequest); */
NS_IMETHOD AsyncItemRequest(calIGoogleRequest *aRequest) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calIGoogleSession, CALIGOOGLESESSION_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIGOOGLESESSION \
NS_IMETHOD GetAuthToken(nsACString & aAuthToken); \
NS_IMETHOD GetUserName(nsACString & aUserName); \
NS_IMETHOD GetPersist(bool *aPersist); \
NS_IMETHOD SetPersist(bool aPersist); \
NS_IMETHOD GetFullName(nsACString & aFullName); \
NS_IMETHOD SetFullName(const nsACString & aFullName); \
NS_IMETHOD GetPassword(nsACString & aPassword); \
NS_IMETHOD SetPassword(const nsACString & aPassword); \
NS_IMETHOD Invalidate(void); \
NS_IMETHOD GetCalendars(calIGenericOperationListener *aListener, calIOperation * *_retval); \
NS_IMETHOD AsyncItemRequest(calIGoogleRequest *aRequest);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIGOOGLESESSION(_to) \
NS_IMETHOD GetAuthToken(nsACString & aAuthToken) { return _to GetAuthToken(aAuthToken); } \
NS_IMETHOD GetUserName(nsACString & aUserName) { return _to GetUserName(aUserName); } \
NS_IMETHOD GetPersist(bool *aPersist) { return _to GetPersist(aPersist); } \
NS_IMETHOD SetPersist(bool aPersist) { return _to SetPersist(aPersist); } \
NS_IMETHOD GetFullName(nsACString & aFullName) { return _to GetFullName(aFullName); } \
NS_IMETHOD SetFullName(const nsACString & aFullName) { return _to SetFullName(aFullName); } \
NS_IMETHOD GetPassword(nsACString & aPassword) { return _to GetPassword(aPassword); } \
NS_IMETHOD SetPassword(const nsACString & aPassword) { return _to SetPassword(aPassword); } \
NS_IMETHOD Invalidate(void) { return _to Invalidate(); } \
NS_IMETHOD GetCalendars(calIGenericOperationListener *aListener, calIOperation * *_retval) { return _to GetCalendars(aListener, _retval); } \
NS_IMETHOD AsyncItemRequest(calIGoogleRequest *aRequest) { return _to AsyncItemRequest(aRequest); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIGOOGLESESSION(_to) \
NS_IMETHOD GetAuthToken(nsACString & aAuthToken) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthToken(aAuthToken); } \
NS_IMETHOD GetUserName(nsACString & aUserName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserName(aUserName); } \
NS_IMETHOD GetPersist(bool *aPersist) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPersist(aPersist); } \
NS_IMETHOD SetPersist(bool aPersist) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPersist(aPersist); } \
NS_IMETHOD GetFullName(nsACString & aFullName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullName(aFullName); } \
NS_IMETHOD SetFullName(const nsACString & aFullName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFullName(aFullName); } \
NS_IMETHOD GetPassword(nsACString & aPassword) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPassword(aPassword); } \
NS_IMETHOD SetPassword(const nsACString & aPassword) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPassword(aPassword); } \
NS_IMETHOD Invalidate(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Invalidate(); } \
NS_IMETHOD GetCalendars(calIGenericOperationListener *aListener, calIOperation * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalendars(aListener, _retval); } \
NS_IMETHOD AsyncItemRequest(calIGoogleRequest *aRequest) { return !_to ? NS_ERROR_NULL_POINTER : _to->AsyncItemRequest(aRequest); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calIGoogleSession
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALIGOOGLESESSION
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, calIGoogleSession)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute AUTF8String authToken; */
NS_IMETHODIMP _MYCLASS_::GetAuthToken(nsACString & aAuthToken)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String userName; */
NS_IMETHODIMP _MYCLASS_::GetUserName(nsACString & aUserName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean persist; */
NS_IMETHODIMP _MYCLASS_::GetPersist(bool *aPersist)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetPersist(bool aPersist)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String fullName; */
NS_IMETHODIMP _MYCLASS_::GetFullName(nsACString & aFullName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetFullName(const nsACString & aFullName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String password; */
NS_IMETHODIMP _MYCLASS_::GetPassword(nsACString & aPassword)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetPassword(const nsACString & aPassword)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void invalidate (); */
NS_IMETHODIMP _MYCLASS_::Invalidate()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* calIOperation getCalendars (in calIGenericOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::GetCalendars(calIGenericOperationListener *aListener, calIOperation * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void asyncItemRequest (in calIGoogleRequest aRequest); */
NS_IMETHODIMP _MYCLASS_::AsyncItemRequest(calIGoogleRequest *aRequest)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_calIGoogleSession_h__ */
|