DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/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

#include "js/Value.h"

#include "js/GCAnnotations.h"

/* 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 prplIAccountBuddy; /* forward declaration */

class imIBuddy; /* forward declaration */

class imIContact; /* forward declaration */

class imIMessage; /* forward declaration */

class prplIConversation; /* forward declaration */


/* starting interface:    imILogConversation */
#define IMILOGCONVERSATION_IID_STR "7771402c-ff55-41f5-86b4-59b93f9b0693"

#define IMILOGCONVERSATION_IID \
  {0x7771402c, 0xff55, 0x41f5, \
    { 0x86, 0xb4, 0x59, 0xb9, 0x3f, 0x9b, 0x06, 0x93 }}

class NS_NO_VTABLE imILogConversation : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(IMILOGCONVERSATION_IID)

  /* readonly attribute AUTF8String title; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTitle(nsACString& aTitle) = 0;

  /* readonly attribute AUTF8String name; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetName(nsACString& aName) = 0;

  /* readonly attribute PRTime startDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStartDate(PRTime *aStartDate) = 0;

  /* readonly attribute imIAccount account; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAccount(imIAccount **aAccount) = 0;

  /* readonly attribute boolean isChat; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsChat(bool *aIsChat) = 0;

  /* readonly attribute prplIAccountBuddy buddy; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBuddy(prplIAccountBuddy **aBuddy) = 0;

  /* void getMessages ([optional] out unsigned long messageCount, [array, size_is (messageCount), retval] out imIMessage messages); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMessages(uint32_t *messageCount, imIMessage ***messages) = 0;

  /* nsISimpleEnumerator getMessagesEnumerator ([optional] out unsigned long messageCount); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMessagesEnumerator(uint32_t *messageCount, nsISimpleEnumerator **_retval) = 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) override; \
  NS_IMETHOD GetName(nsACString& aName) override; \
  NS_IMETHOD GetStartDate(PRTime *aStartDate) override; \
  NS_IMETHOD GetAccount(imIAccount **aAccount) override; \
  NS_IMETHOD GetIsChat(bool *aIsChat) override; \
  NS_IMETHOD GetBuddy(prplIAccountBuddy **aBuddy) override; \
  NS_IMETHOD GetMessages(uint32_t *messageCount, imIMessage ***messages) override; \
  NS_IMETHOD GetMessagesEnumerator(uint32_t *messageCount, nsISimpleEnumerator **_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_IMILOGCONVERSATION \
  nsresult GetTitle(nsACString& aTitle); \
  nsresult GetName(nsACString& aName); \
  nsresult GetStartDate(PRTime *aStartDate); \
  nsresult GetAccount(imIAccount **aAccount); \
  nsresult GetIsChat(bool *aIsChat); \
  nsresult GetBuddy(prplIAccountBuddy **aBuddy); \
  nsresult GetMessages(uint32_t *messageCount, imIMessage ***messages); \
  nsresult GetMessagesEnumerator(uint32_t *messageCount, nsISimpleEnumerator **_retval); 

/* 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) override { return _to GetTitle(aTitle); } \
  NS_IMETHOD GetName(nsACString& aName) override { return _to GetName(aName); } \
  NS_IMETHOD GetStartDate(PRTime *aStartDate) override { return _to GetStartDate(aStartDate); } \
  NS_IMETHOD GetAccount(imIAccount **aAccount) override { return _to GetAccount(aAccount); } \
  NS_IMETHOD GetIsChat(bool *aIsChat) override { return _to GetIsChat(aIsChat); } \
  NS_IMETHOD GetBuddy(prplIAccountBuddy **aBuddy) override { return _to GetBuddy(aBuddy); } \
  NS_IMETHOD GetMessages(uint32_t *messageCount, imIMessage ***messages) override { return _to GetMessages(messageCount, messages); } \
  NS_IMETHOD GetMessagesEnumerator(uint32_t *messageCount, nsISimpleEnumerator **_retval) override { return _to GetMessagesEnumerator(messageCount, _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_IMILOGCONVERSATION(_to) \
  NS_IMETHOD GetTitle(nsACString& aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_IMETHOD GetName(nsACString& aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  NS_IMETHOD GetStartDate(PRTime *aStartDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartDate(aStartDate); } \
  NS_IMETHOD GetAccount(imIAccount **aAccount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccount(aAccount); } \
  NS_IMETHOD GetIsChat(bool *aIsChat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsChat(aIsChat); } \
  NS_IMETHOD GetBuddy(prplIAccountBuddy **aBuddy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBuddy(aBuddy); } \
  NS_IMETHOD GetMessages(uint32_t *messageCount, imIMessage ***messages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessages(messageCount, messages); } \
  NS_IMETHOD GetMessagesEnumerator(uint32_t *messageCount, nsISimpleEnumerator **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessagesEnumerator(messageCount, _retval); } 


/* starting interface:    imILog */
#define IMILOG_IID_STR "27712ece-ad2c-4504-87d5-9e2c16d40fef"

#define IMILOG_IID \
  {0x27712ece, 0xad2c, 0x4504, \
    { 0x87, 0xd5, 0x9e, 0x2c, 0x16, 0xd4, 0x0f, 0xef }}

class NS_NO_VTABLE imILog : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(IMILOG_IID)

  /* readonly attribute AUTF8String path; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPath(nsACString& aPath) = 0;

  /* readonly attribute PRTime time; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTime(PRTime *aTime) = 0;

  /* readonly attribute AUTF8String format; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFormat(nsACString& aFormat) = 0;

  /* jsval getConversation (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetConversation(JS::MutableHandleValue _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) override; \
  NS_IMETHOD GetTime(PRTime *aTime) override; \
  NS_IMETHOD GetFormat(nsACString& aFormat) override; \
  NS_IMETHOD GetConversation(JS::MutableHandleValue _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_IMILOG \
  nsresult GetPath(nsACString& aPath); \
  nsresult GetTime(PRTime *aTime); \
  nsresult GetFormat(nsACString& aFormat); \
  nsresult GetConversation(JS::MutableHandleValue _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) override { return _to GetPath(aPath); } \
  NS_IMETHOD GetTime(PRTime *aTime) override { return _to GetTime(aTime); } \
  NS_IMETHOD GetFormat(nsACString& aFormat) override { return _to GetFormat(aFormat); } \
  NS_IMETHOD GetConversation(JS::MutableHandleValue _retval) override { 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) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPath(aPath); } \
  NS_IMETHOD GetTime(PRTime *aTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTime(aTime); } \
  NS_IMETHOD GetFormat(nsACString& aFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormat(aFormat); } \
  NS_IMETHOD GetConversation(JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConversation(_retval); } 


/* starting interface:    imIProcessLogsCallback */
#define IMIPROCESSLOGSCALLBACK_IID_STR "2ab5f8ac-4b89-4954-9a4a-7c167f1e3b0d"

#define IMIPROCESSLOGSCALLBACK_IID \
  {0x2ab5f8ac, 0x4b89, 0x4954, \
    { 0x9a, 0x4a, 0x7c, 0x16, 0x7f, 0x1e, 0x3b, 0x0d }}

class NS_NO_VTABLE imIProcessLogsCallback : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(IMIPROCESSLOGSCALLBACK_IID)

  /* jsval processLog (in AUTF8String aLogPath); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ProcessLog(const nsACString& aLogPath, JS::MutableHandleValue _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(imIProcessLogsCallback, IMIPROCESSLOGSCALLBACK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMIPROCESSLOGSCALLBACK \
  NS_IMETHOD ProcessLog(const nsACString& aLogPath, JS::MutableHandleValue _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_IMIPROCESSLOGSCALLBACK \
  nsresult ProcessLog(const nsACString& aLogPath, JS::MutableHandleValue _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMIPROCESSLOGSCALLBACK(_to) \
  NS_IMETHOD ProcessLog(const nsACString& aLogPath, JS::MutableHandleValue _retval) override { return _to ProcessLog(aLogPath, _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_IMIPROCESSLOGSCALLBACK(_to) \
  NS_IMETHOD ProcessLog(const nsACString& aLogPath, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessLog(aLogPath, _retval); } 


/* starting interface:    imILogger */
#define IMILOGGER_IID_STR "7e2476dc-8199-4454-9661-b78ee73fa49e"

#define IMILOGGER_IID \
  {0x7e2476dc, 0x8199, 0x4454, \
    { 0x96, 0x61, 0xb7, 0x8e, 0xe7, 0x3f, 0xa4, 0x9e }}

class NS_NO_VTABLE imILogger : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(IMILOGGER_IID)

  /* jsval getLogFromFile (in AUTF8String aFilePath, [optional] in boolean aGroupByDay); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogFromFile(const nsACString& aFilePath, bool aGroupByDay, JS::MutableHandleValue _retval) = 0;

  /* jsval getLogPathsForConversation (in prplIConversation aConversation); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogPathsForConversation(prplIConversation *aConversation, JS::MutableHandleValue _retval) = 0;

  /* jsval getLogsForAccountAndName (in imIAccount aAccount, in AUTF8String aNormalizedName, [optional] in boolean aGroupByDay); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogsForAccountAndName(imIAccount *aAccount, const nsACString& aNormalizedName, bool aGroupByDay, JS::MutableHandleValue _retval) = 0;

  /* jsval getLogsForAccountBuddy (in prplIAccountBuddy aAccountBuddy, [optional] in boolean aGroupByDay); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogsForAccountBuddy(prplIAccountBuddy *aAccountBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) = 0;

  /* jsval getLogsForBuddy (in imIBuddy aBuddy, [optional] in boolean aGroupByDay); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) = 0;

  /* jsval getLogsForContact (in imIContact aContact, [optional] in boolean aGroupByDay); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogsForContact(imIContact *aContact, bool aGroupByDay, JS::MutableHandleValue _retval) = 0;

  /* jsval getLogsForConversation (in prplIConversation aConversation, [optional] in boolean aGroupByDay); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, JS::MutableHandleValue _retval) = 0;

  /* jsval getSystemLogsForAccount (in imIAccount aAccount); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, JS::MutableHandleValue _retval) = 0;

  /* jsval getSimilarLogs (in imILog aLog, [optional] in boolean aGroupByDay); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, JS::MutableHandleValue _retval) = 0;

  /* jsval forEach (in imIProcessLogsCallback aCallback); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ForEach(imIProcessLogsCallback *aCallback, JS::MutableHandleValue _retval) = 0;

  /* AUTF8String getLogFolderPathForAccount (in imIAccount aAccount); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLogFolderPathForAccount(imIAccount *aAccount, nsACString& _retval) = 0;

  /* jsval deleteLogFolderForAccount (in imIAccount aAccount); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DeleteLogFolderForAccount(imIAccount *aAccount, JS::MutableHandleValue _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(const nsACString& aFilePath, bool aGroupByDay, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetLogPathsForConversation(prplIConversation *aConversation, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetLogsForAccountAndName(imIAccount *aAccount, const nsACString& aNormalizedName, bool aGroupByDay, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetLogsForAccountBuddy(prplIAccountBuddy *aAccountBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetLogsForContact(imIContact *aContact, bool aGroupByDay, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD ForEach(imIProcessLogsCallback *aCallback, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetLogFolderPathForAccount(imIAccount *aAccount, nsACString& _retval) override; \
  NS_IMETHOD DeleteLogFolderForAccount(imIAccount *aAccount, JS::MutableHandleValue _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_IMILOGGER \
  nsresult GetLogFromFile(const nsACString& aFilePath, bool aGroupByDay, JS::MutableHandleValue _retval); \
  nsresult GetLogPathsForConversation(prplIConversation *aConversation, JS::MutableHandleValue _retval); \
  nsresult GetLogsForAccountAndName(imIAccount *aAccount, const nsACString& aNormalizedName, bool aGroupByDay, JS::MutableHandleValue _retval); \
  nsresult GetLogsForAccountBuddy(prplIAccountBuddy *aAccountBuddy, bool aGroupByDay, JS::MutableHandleValue _retval); \
  nsresult GetLogsForBuddy(imIBuddy *aBuddy, bool aGroupByDay, JS::MutableHandleValue _retval); \
  nsresult GetLogsForContact(imIContact *aContact, bool aGroupByDay, JS::MutableHandleValue _retval); \
  nsresult GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, JS::MutableHandleValue _retval); \
  nsresult GetSystemLogsForAccount(imIAccount *aAccount, JS::MutableHandleValue _retval); \
  nsresult GetSimilarLogs(imILog *aLog, bool aGroupByDay, JS::MutableHandleValue _retval); \
  nsresult ForEach(imIProcessLogsCallback *aCallback, JS::MutableHandleValue _retval); \
  nsresult GetLogFolderPathForAccount(imIAccount *aAccount, nsACString& _retval); \
  nsresult DeleteLogFolderForAccount(imIAccount *aAccount, JS::MutableHandleValue _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(const nsACString& aFilePath, bool aGroupByDay, JS::MutableHandleValue _retval) override { return _to GetLogFromFile(aFilePath, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogPathsForConversation(prplIConversation *aConversation, JS::MutableHandleValue _retval) override { return _to GetLogPathsForConversation(aConversation, _retval); } \
  NS_IMETHOD GetLogsForAccountAndName(imIAccount *aAccount, const nsACString& aNormalizedName, bool aGroupByDay, JS::MutableHandleValue _retval) override { return _to GetLogsForAccountAndName(aAccount, aNormalizedName, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForAccountBuddy(prplIAccountBuddy *aAccountBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) override { return _to GetLogsForAccountBuddy(aAccountBuddy, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) override { return _to GetLogsForBuddy(aBuddy, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForContact(imIContact *aContact, bool aGroupByDay, JS::MutableHandleValue _retval) override { return _to GetLogsForContact(aContact, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, JS::MutableHandleValue _retval) override { return _to GetLogsForConversation(aConversation, aGroupByDay, _retval); } \
  NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, JS::MutableHandleValue _retval) override { return _to GetSystemLogsForAccount(aAccount, _retval); } \
  NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, JS::MutableHandleValue _retval) override { return _to GetSimilarLogs(aLog, aGroupByDay, _retval); } \
  NS_IMETHOD ForEach(imIProcessLogsCallback *aCallback, JS::MutableHandleValue _retval) override { return _to ForEach(aCallback, _retval); } \
  NS_IMETHOD GetLogFolderPathForAccount(imIAccount *aAccount, nsACString& _retval) override { return _to GetLogFolderPathForAccount(aAccount, _retval); } \
  NS_IMETHOD DeleteLogFolderForAccount(imIAccount *aAccount, JS::MutableHandleValue _retval) override { return _to DeleteLogFolderForAccount(aAccount, _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(const nsACString& aFilePath, bool aGroupByDay, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogFromFile(aFilePath, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogPathsForConversation(prplIConversation *aConversation, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogPathsForConversation(aConversation, _retval); } \
  NS_IMETHOD GetLogsForAccountAndName(imIAccount *aAccount, const nsACString& aNormalizedName, bool aGroupByDay, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForAccountAndName(aAccount, aNormalizedName, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForAccountBuddy(prplIAccountBuddy *aAccountBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForAccountBuddy(aAccountBuddy, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForBuddy(imIBuddy *aBuddy, bool aGroupByDay, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForBuddy(aBuddy, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForContact(imIContact *aContact, bool aGroupByDay, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForContact(aContact, aGroupByDay, _retval); } \
  NS_IMETHOD GetLogsForConversation(prplIConversation *aConversation, bool aGroupByDay, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogsForConversation(aConversation, aGroupByDay, _retval); } \
  NS_IMETHOD GetSystemLogsForAccount(imIAccount *aAccount, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSystemLogsForAccount(aAccount, _retval); } \
  NS_IMETHOD GetSimilarLogs(imILog *aLog, bool aGroupByDay, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSimilarLogs(aLog, aGroupByDay, _retval); } \
  NS_IMETHOD ForEach(imIProcessLogsCallback *aCallback, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ForEach(aCallback, _retval); } \
  NS_IMETHOD GetLogFolderPathForAccount(imIAccount *aAccount, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogFolderPathForAccount(aAccount, _retval); } \
  NS_IMETHOD DeleteLogFolderForAccount(imIAccount *aAccount, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteLogFolderForAccount(aAccount, _retval); } 


#endif /* __gen_imILogger_h__ */