/usr/include/thunderbird/imILogger.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 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/chat/components/public/imILogger.idl
*/
#ifndef __gen_imILogger_h__
#define __gen_imILogger_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsISimpleEnumerator_h__
#include "nsISimpleEnumerator.h"
#endif
#ifndef __gen_nsIFile_h__
#include "nsIFile.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class imIAccount; /* forward declaration */
class imIAccountBuddy; /* forward declaration */
class imIBuddy; /* forward declaration */
class imIContact; /* forward declaration */
class prplIConversation; /* forward declaration */
class prplIMessage; /* forward declaration */
/* starting interface: imILogConversation */
#define IMILOGCONVERSATION_IID_STR "5bc06f3b-33a1-412b-a4d8-4fc7ba4c962b"
#define IMILOGCONVERSATION_IID \
{0x5bc06f3b, 0x33a1, 0x412b, \
{ 0xa4, 0xd8, 0x4f, 0xc7, 0xba, 0x4c, 0x96, 0x2b }}
class NS_NO_VTABLE imILogConversation : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(IMILOGCONVERSATION_IID)
/* readonly attribute AUTF8String title; */
NS_IMETHOD GetTitle(nsACString & aTitle) = 0;
/* readonly attribute AUTF8String name; */
NS_IMETHOD GetName(nsACString & aName) = 0;
/* readonly attribute PRTime startDate; */
NS_IMETHOD GetStartDate(PRTime *aStartDate) = 0;
/* readonly attribute imIAccount account; */
NS_IMETHOD GetAccount(imIAccount * *aAccount) = 0;
/* readonly attribute boolean isChat; */
NS_IMETHOD GetIsChat(bool *aIsChat) = 0;
/* readonly attribute imIAccountBuddy buddy; */
NS_IMETHOD GetBuddy(imIAccountBuddy * *aBuddy) = 0;
/* void getMessages ([optional] out unsigned long messageCount, [array, size_is (messageCount), retval] out prplIMessage messages); */
NS_IMETHOD GetMessages(uint32_t *messageCount, prplIMessage * **messages) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(imILogConversation, IMILOGCONVERSATION_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMILOGCONVERSATION \
NS_IMETHOD GetTitle(nsACString & aTitle); \
NS_IMETHOD GetName(nsACString & aName); \
NS_IMETHOD GetStartDate(PRTime *aStartDate); \
NS_IMETHOD GetAccount(imIAccount * *aAccount); \
NS_IMETHOD GetIsChat(bool *aIsChat); \
NS_IMETHOD GetBuddy(imIAccountBuddy * *aBuddy); \
NS_IMETHOD GetMessages(uint32_t *messageCount, prplIMessage * **messages);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMILOGCONVERSATION(_to) \
NS_IMETHOD GetTitle(nsACString & aTitle) { return _to GetTitle(aTitle); } \
NS_IMETHOD GetName(nsACString & aName) { return _to GetName(aName); } \
NS_IMETHOD GetStartDate(PRTime *aStartDate) { return _to GetStartDate(aStartDate); } \
NS_IMETHOD GetAccount(imIAccount * *aAccount) { return _to GetAccount(aAccount); } \
NS_IMETHOD GetIsChat(bool *aIsChat) { return _to GetIsChat(aIsChat); } \
NS_IMETHOD GetBuddy(imIAccountBuddy * *aBuddy) { return _to GetBuddy(aBuddy); } \
NS_IMETHOD GetMessages(uint32_t *messageCount, prplIMessage * **messages) { return _to GetMessages(messageCount, messages); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_IMILOGCONVERSATION(_to) \
NS_IMETHOD GetTitle(nsACString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
NS_IMETHOD GetName(nsACString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_IMETHOD GetStartDate(PRTime *aStartDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartDate(aStartDate); } \
NS_IMETHOD GetAccount(imIAccount * *aAccount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccount(aAccount); } \
NS_IMETHOD GetIsChat(bool *aIsChat) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsChat(aIsChat); } \
NS_IMETHOD GetBuddy(imIAccountBuddy * *aBuddy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBuddy(aBuddy); } \
NS_IMETHOD GetMessages(uint32_t *messageCount, prplIMessage * **messages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessages(messageCount, messages); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class imLogConversation : public imILogConversation
{
public:
NS_DECL_ISUPPORTS
NS_DECL_IMILOGCONVERSATION
imLogConversation();
private:
~imLogConversation();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(imLogConversation, imILogConversation)
imLogConversation::imLogConversation()
{
/* member initializers and constructor code */
}
imLogConversation::~imLogConversation()
{
/* destructor code */
}
/* readonly attribute AUTF8String title; */
NS_IMETHODIMP imLogConversation::GetTitle(nsACString & aTitle)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String name; */
NS_IMETHODIMP imLogConversation::GetName(nsACString & aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRTime startDate; */
NS_IMETHODIMP imLogConversation::GetStartDate(PRTime *aStartDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute imIAccount account; */
NS_IMETHODIMP imLogConversation::GetAccount(imIAccount * *aAccount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isChat; */
NS_IMETHODIMP imLogConversation::GetIsChat(bool *aIsChat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute imIAccountBuddy buddy; */
NS_IMETHODIMP imLogConversation::GetBuddy(imIAccountBuddy * *aBuddy)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getMessages ([optional] out unsigned long messageCount, [array, size_is (messageCount), retval] out prplIMessage messages); */
NS_IMETHODIMP imLogConversation::GetMessages(uint32_t *messageCount, prplIMessage * **messages)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: imILog */
#define IMILOG_IID_STR "164ff6c3-ca64-4880-b8f3-67eb1817955f"
#define IMILOG_IID \
{0x164ff6c3, 0xca64, 0x4880, \
{ 0xb8, 0xf3, 0x67, 0xeb, 0x18, 0x17, 0x95, 0x5f }}
class NS_NO_VTABLE imILog : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(IMILOG_IID)
/* readonly attribute AUTF8String path; */
NS_IMETHOD GetPath(nsACString & aPath) = 0;
/* readonly attribute PRTime time; */
NS_IMETHOD GetTime(PRTime *aTime) = 0;
/* readonly attribute AUTF8String format; */
NS_IMETHOD GetFormat(nsACString & aFormat) = 0;
/* imILogConversation getConversation (); */
NS_IMETHOD GetConversation(imILogConversation * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(imILog, IMILOG_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMILOG \
NS_IMETHOD GetPath(nsACString & aPath); \
NS_IMETHOD GetTime(PRTime *aTime); \
NS_IMETHOD GetFormat(nsACString & aFormat); \
NS_IMETHOD GetConversation(imILogConversation * *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMILOG(_to) \
NS_IMETHOD GetPath(nsACString & aPath) { return _to GetPath(aPath); } \
NS_IMETHOD GetTime(PRTime *aTime) { return _to GetTime(aTime); } \
NS_IMETHOD GetFormat(nsACString & aFormat) { return _to GetFormat(aFormat); } \
NS_IMETHOD GetConversation(imILogConversation * *_retval) { return _to GetConversation(_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_IMILOG(_to) \
NS_IMETHOD GetPath(nsACString & aPath) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPath(aPath); } \
NS_IMETHOD GetTime(PRTime *aTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTime(aTime); } \
NS_IMETHOD GetFormat(nsACString & aFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormat(aFormat); } \
NS_IMETHOD GetConversation(imILogConversation * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConversation(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class imLog : public imILog
{
public:
NS_DECL_ISUPPORTS
NS_DECL_IMILOG
imLog();
private:
~imLog();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(imLog, imILog)
imLog::imLog()
{
/* member initializers and constructor code */
}
imLog::~imLog()
{
/* destructor code */
}
/* readonly attribute AUTF8String path; */
NS_IMETHODIMP imLog::GetPath(nsACString & aPath)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRTime time; */
NS_IMETHODIMP imLog::GetTime(PRTime *aTime)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String format; */
NS_IMETHODIMP imLog::GetFormat(nsACString & aFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* imILogConversation getConversation (); */
NS_IMETHODIMP imLog::GetConversation(imILogConversation * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: imILogger */
#define IMILOGGER_IID_STR "327ba58c-ee9c-4d1c-9216-fd505c45a3e0"
#define IMILOGGER_IID \
{0x327ba58c, 0xee9c, 0x4d1c, \
{ 0x92, 0x16, 0xfd, 0x50, 0x5c, 0x45, 0xa3, 0xe0 }}
class NS_NO_VTABLE imILogger : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(IMILOGGER_IID)
/* imILog getLogFromFile (in nsIFile aFile, [optional] in boolean aGroupByDay); */
NS_IMETHOD GetLogFromFile(nsIFile *aFile, bool aGroupByDay, imILog * *_retval) = 0;
/* nsIFile getLogFileForOngoingConversation (in prplIConversation aConversation); */
NS_IMETHOD GetLogFileForOngoingConversation(prplIConversation *aConversation, nsIFile * *_retval) = 0;
/* nsISimpleEnumerator getLogsForAccountBuddy (in imIAccountBuddy aAccountBuddy); */
NS_IMETHOD GetLogsForAccountBuddy(imIAccountBuddy *aAccountBuddy, nsISimpleEnumerator * *_retval) = 0;
/* nsISimpleEnumerator getLogsForBuddy (in imIBuddy aBuddy); */
NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, nsISimpleEnumerator * *_retval) = 0;
/* nsISimpleEnumerator getLogsForContact (in imIContact aContact); */
NS_IMETHOD GetLogsForContact(imIContact *aContact, nsISimpleEnumerator * *_retval) = 0;
/* nsISimpleEnumerator getLogsForConversation (in prplIConversation aConversation, [optional] in boolean aGroupByDay); */
NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, nsISimpleEnumerator * *_retval) = 0;
/* nsISimpleEnumerator getSystemLogsForAccount (in imIAccount aAccount); */
NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, nsISimpleEnumerator * *_retval) = 0;
/* nsISimpleEnumerator getSimilarLogs (in imILog aLog, [optional] in boolean aGroupByDay); */
NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, nsISimpleEnumerator * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(imILogger, IMILOGGER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMILOGGER \
NS_IMETHOD GetLogFromFile(nsIFile *aFile, bool aGroupByDay, imILog * *_retval); \
NS_IMETHOD GetLogFileForOngoingConversation(prplIConversation *aConversation, nsIFile * *_retval); \
NS_IMETHOD GetLogsForAccountBuddy(imIAccountBuddy *aAccountBuddy, nsISimpleEnumerator * *_retval); \
NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, nsISimpleEnumerator * *_retval); \
NS_IMETHOD GetLogsForContact(imIContact *aContact, nsISimpleEnumerator * *_retval); \
NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, nsISimpleEnumerator * *_retval); \
NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, nsISimpleEnumerator * *_retval); \
NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, nsISimpleEnumerator * *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMILOGGER(_to) \
NS_IMETHOD GetLogFromFile(nsIFile *aFile, bool aGroupByDay, imILog * *_retval) { return _to GetLogFromFile(aFile, aGroupByDay, _retval); } \
NS_IMETHOD GetLogFileForOngoingConversation(prplIConversation *aConversation, nsIFile * *_retval) { return _to GetLogFileForOngoingConversation(aConversation, _retval); } \
NS_IMETHOD GetLogsForAccountBuddy(imIAccountBuddy *aAccountBuddy, nsISimpleEnumerator * *_retval) { return _to GetLogsForAccountBuddy(aAccountBuddy, _retval); } \
NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, nsISimpleEnumerator * *_retval) { return _to GetLogsForBuddy(aBuddy, _retval); } \
NS_IMETHOD GetLogsForContact(imIContact *aContact, nsISimpleEnumerator * *_retval) { return _to GetLogsForContact(aContact, _retval); } \
NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, nsISimpleEnumerator * *_retval) { return _to GetLogsForConversation(aConversation, aGroupByDay, _retval); } \
NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, nsISimpleEnumerator * *_retval) { return _to GetSystemLogsForAccount(aAccount, _retval); } \
NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, nsISimpleEnumerator * *_retval) { return _to GetSimilarLogs(aLog, aGroupByDay, _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_IMILOGGER(_to) \
NS_IMETHOD GetLogFromFile(nsIFile *aFile, bool aGroupByDay, imILog * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogFromFile(aFile, aGroupByDay, _retval); } \
NS_IMETHOD GetLogFileForOngoingConversation(prplIConversation *aConversation, nsIFile * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogFileForOngoingConversation(aConversation, _retval); } \
NS_IMETHOD GetLogsForAccountBuddy(imIAccountBuddy *aAccountBuddy, nsISimpleEnumerator * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForAccountBuddy(aAccountBuddy, _retval); } \
NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, nsISimpleEnumerator * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForBuddy(aBuddy, _retval); } \
NS_IMETHOD GetLogsForContact(imIContact *aContact, nsISimpleEnumerator * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForContact(aContact, _retval); } \
NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, nsISimpleEnumerator * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForConversation(aConversation, aGroupByDay, _retval); } \
NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, nsISimpleEnumerator * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSystemLogsForAccount(aAccount, _retval); } \
NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, nsISimpleEnumerator * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSimilarLogs(aLog, aGroupByDay, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class imLogger : public imILogger
{
public:
NS_DECL_ISUPPORTS
NS_DECL_IMILOGGER
imLogger();
private:
~imLogger();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(imLogger, imILogger)
imLogger::imLogger()
{
/* member initializers and constructor code */
}
imLogger::~imLogger()
{
/* destructor code */
}
/* imILog getLogFromFile (in nsIFile aFile, [optional] in boolean aGroupByDay); */
NS_IMETHODIMP imLogger::GetLogFromFile(nsIFile *aFile, bool aGroupByDay, imILog * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIFile getLogFileForOngoingConversation (in prplIConversation aConversation); */
NS_IMETHODIMP imLogger::GetLogFileForOngoingConversation(prplIConversation *aConversation, nsIFile * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getLogsForAccountBuddy (in imIAccountBuddy aAccountBuddy); */
NS_IMETHODIMP imLogger::GetLogsForAccountBuddy(imIAccountBuddy *aAccountBuddy, nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getLogsForBuddy (in imIBuddy aBuddy); */
NS_IMETHODIMP imLogger::GetLogsForBuddy(imIBuddy *aBuddy, nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getLogsForContact (in imIContact aContact); */
NS_IMETHODIMP imLogger::GetLogsForContact(imIContact *aContact, nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getLogsForConversation (in prplIConversation aConversation, [optional] in boolean aGroupByDay); */
NS_IMETHODIMP imLogger::GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getSystemLogsForAccount (in imIAccount aAccount); */
NS_IMETHODIMP imLogger::GetSystemLogsForAccount(imIAccount *aAccount, nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getSimilarLogs (in imILog aLog, [optional] in boolean aGroupByDay); */
NS_IMETHODIMP imLogger::GetSimilarLogs(imILog *aLog, bool aGroupByDay, nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_imILogger_h__ */
|