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 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 450 451
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/db/msgdb/public/nsIDBFolderInfo.idl
 */

#ifndef __gen_nsIDBFolderInfo_h__
#define __gen_nsIDBFolderInfo_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#ifndef __gen_MailNewsTypes2_h__
#include "MailNewsTypes2.h"
#endif

#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

/* starting interface:    nsIDBFolderInfo */
#define NS_IDBFOLDERINFO_IID_STR "a72dab4b-b3bd-471e-9a38-1b242b385459"

#define NS_IDBFOLDERINFO_IID \
  {0xa72dab4b, 0xb3bd, 0x471e, \
    { 0x9a, 0x38, 0x1b, 0x24, 0x2b, 0x38, 0x54, 0x59 }}

class NS_NO_VTABLE nsIDBFolderInfo : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDBFOLDERINFO_IID)

  /* attribute long flags; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFlags(int32_t *aFlags) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFlags(int32_t aFlags) = 0;

  /* long orFlags (in long aFlags); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OrFlags(int32_t aFlags, int32_t *_retval) = 0;

  /* long andFlags (in long aFlags); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AndFlags(int32_t aFlags, int32_t *_retval) = 0;

  /* void onKeyAdded (in nsMsgKey aNewKey); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey) = 0;

  /* attribute nsMsgKey highWater; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHighWater(nsMsgKey *aHighWater) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetHighWater(nsMsgKey aHighWater) = 0;

  /* attribute nsMsgKey expiredMark; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark) = 0;

  /* attribute long long folderSize; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFolderSize(int64_t *aFolderSize) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolderSize(int64_t aFolderSize) = 0;

  /* attribute unsigned long folderDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFolderDate(uint32_t *aFolderDate) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolderDate(uint32_t aFolderDate) = 0;

  /* void changeNumUnreadMessages (in long aDelta); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ChangeNumUnreadMessages(int32_t aDelta) = 0;

  /* void changeNumMessages (in long aDelta); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ChangeNumMessages(int32_t aDelta) = 0;

  /* attribute long numUnreadMessages; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNumUnreadMessages(int32_t *aNumUnreadMessages) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNumUnreadMessages(int32_t aNumUnreadMessages) = 0;

  /* attribute long numMessages; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNumMessages(int32_t *aNumMessages) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNumMessages(int32_t aNumMessages) = 0;

  /* attribute long long expungedBytes; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetExpungedBytes(int64_t *aExpungedBytes) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetExpungedBytes(int64_t aExpungedBytes) = 0;

  /* attribute long imapUidValidity; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImapUidValidity(int32_t *aImapUidValidity) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetImapUidValidity(int32_t aImapUidValidity) = 0;

  /* attribute unsigned long version; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetVersion(uint32_t *aVersion) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetVersion(uint32_t aVersion) = 0;

  /* attribute long imapTotalPendingMessages; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImapTotalPendingMessages(int32_t *aImapTotalPendingMessages) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetImapTotalPendingMessages(int32_t aImapTotalPendingMessages) = 0;

  /* attribute long imapUnreadPendingMessages; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImapUnreadPendingMessages(int32_t *aImapUnreadPendingMessages) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetImapUnreadPendingMessages(int32_t aImapUnreadPendingMessages) = 0;

  /* attribute nsMsgViewTypeValue viewType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType) = 0;

  /* attribute nsMsgViewFlagsTypeValue viewFlags; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) = 0;

  /* attribute nsMsgViewSortTypeValue sortType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) = 0;

  /* attribute nsMsgViewSortOrderValue sortOrder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder) = 0;

  /* void changeExpungedBytes (in long aDelta); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ChangeExpungedBytes(int32_t aDelta) = 0;

  /* ACString getCharProperty (in string propertyName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCharProperty(const char * propertyName, nsACString& _retval) = 0;

  /* void setCharProperty (in string aPropertyName, in ACString aPropertyValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString& aPropertyValue) = 0;

  /* void setUint32Property (in string propertyName, in unsigned long propertyValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUint32Property(const char * propertyName, uint32_t propertyValue) = 0;

  /* void setInt64Property (in string propertyName, in long long propertyValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetInt64Property(const char * propertyName, int64_t propertyValue) = 0;

  /* unsigned long getUint32Property (in string propertyName, in unsigned long defaultValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUint32Property(const char * propertyName, uint32_t defaultValue, uint32_t *_retval) = 0;

  /* long long getInt64Property (in string propertyName, in long long defaultValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetInt64Property(const char * propertyName, int64_t defaultValue, int64_t *_retval) = 0;

  /* boolean getBooleanProperty (in string propertyName, in boolean defaultValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval) = 0;

  /* void setBooleanProperty (in string propertyName, in boolean aPropertyValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue) = 0;

  /* nsIDBFolderInfo GetTransferInfo (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTransferInfo(nsIDBFolderInfo **_retval) = 0;

  /* void initFromTransferInfo (in nsIDBFolderInfo transferInfo); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo) = 0;

  /* attribute ACString characterSet; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCharacterSet(nsACString& aCharacterSet) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCharacterSet(const nsACString& aCharacterSet) = 0;

  /* readonly attribute ACString effectiveCharacterSet; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEffectiveCharacterSet(nsACString& aEffectiveCharacterSet) = 0;

  /* attribute boolean characterSetOverride; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride) = 0;

  /* attribute AString locale; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLocale(nsAString& aLocale) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLocale(const nsAString& aLocale) = 0;

  /* attribute AString mailboxName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMailboxName(nsAString& aMailboxName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMailboxName(const nsAString& aMailboxName) = 0;

  /* AString getProperty (in string propertyName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProperty(const char * propertyName, nsAString& _retval) = 0;

  /* void setProperty (in string propertyName, in AString propertyStr); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetProperty(const char * propertyName, const nsAString& propertyStr) = 0;

  /* attribute string knownArtsSet; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet) = 0;

  /* attribute ACString folderName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFolderName(nsACString& aFolderName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolderName(const nsACString& aFolderName) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDBFolderInfo, NS_IDBFOLDERINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDBFOLDERINFO \
  NS_IMETHOD GetFlags(int32_t *aFlags) override; \
  NS_IMETHOD SetFlags(int32_t aFlags) override; \
  NS_IMETHOD OrFlags(int32_t aFlags, int32_t *_retval) override; \
  NS_IMETHOD AndFlags(int32_t aFlags, int32_t *_retval) override; \
  NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey) override; \
  NS_IMETHOD GetHighWater(nsMsgKey *aHighWater) override; \
  NS_IMETHOD SetHighWater(nsMsgKey aHighWater) override; \
  NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark) override; \
  NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark) override; \
  NS_IMETHOD GetFolderSize(int64_t *aFolderSize) override; \
  NS_IMETHOD SetFolderSize(int64_t aFolderSize) override; \
  NS_IMETHOD GetFolderDate(uint32_t *aFolderDate) override; \
  NS_IMETHOD SetFolderDate(uint32_t aFolderDate) override; \
  NS_IMETHOD ChangeNumUnreadMessages(int32_t aDelta) override; \
  NS_IMETHOD ChangeNumMessages(int32_t aDelta) override; \
  NS_IMETHOD GetNumUnreadMessages(int32_t *aNumUnreadMessages) override; \
  NS_IMETHOD SetNumUnreadMessages(int32_t aNumUnreadMessages) override; \
  NS_IMETHOD GetNumMessages(int32_t *aNumMessages) override; \
  NS_IMETHOD SetNumMessages(int32_t aNumMessages) override; \
  NS_IMETHOD GetExpungedBytes(int64_t *aExpungedBytes) override; \
  NS_IMETHOD SetExpungedBytes(int64_t aExpungedBytes) override; \
  NS_IMETHOD GetImapUidValidity(int32_t *aImapUidValidity) override; \
  NS_IMETHOD SetImapUidValidity(int32_t aImapUidValidity) override; \
  NS_IMETHOD GetVersion(uint32_t *aVersion) override; \
  NS_IMETHOD SetVersion(uint32_t aVersion) override; \
  NS_IMETHOD GetImapTotalPendingMessages(int32_t *aImapTotalPendingMessages) override; \
  NS_IMETHOD SetImapTotalPendingMessages(int32_t aImapTotalPendingMessages) override; \
  NS_IMETHOD GetImapUnreadPendingMessages(int32_t *aImapUnreadPendingMessages) override; \
  NS_IMETHOD SetImapUnreadPendingMessages(int32_t aImapUnreadPendingMessages) override; \
  NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) override; \
  NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType) override; \
  NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) override; \
  NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) override; \
  NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) override; \
  NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) override; \
  NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) override; \
  NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder) override; \
  NS_IMETHOD ChangeExpungedBytes(int32_t aDelta) override; \
  NS_IMETHOD GetCharProperty(const char * propertyName, nsACString& _retval) override; \
  NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString& aPropertyValue) override; \
  NS_IMETHOD SetUint32Property(const char * propertyName, uint32_t propertyValue) override; \
  NS_IMETHOD SetInt64Property(const char * propertyName, int64_t propertyValue) override; \
  NS_IMETHOD GetUint32Property(const char * propertyName, uint32_t defaultValue, uint32_t *_retval) override; \
  NS_IMETHOD GetInt64Property(const char * propertyName, int64_t defaultValue, int64_t *_retval) override; \
  NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval) override; \
  NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue) override; \
  NS_IMETHOD GetTransferInfo(nsIDBFolderInfo **_retval) override; \
  NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo) override; \
  NS_IMETHOD GetCharacterSet(nsACString& aCharacterSet) override; \
  NS_IMETHOD SetCharacterSet(const nsACString& aCharacterSet) override; \
  NS_IMETHOD GetEffectiveCharacterSet(nsACString& aEffectiveCharacterSet) override; \
  NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride) override; \
  NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride) override; \
  NS_IMETHOD GetLocale(nsAString& aLocale) override; \
  NS_IMETHOD SetLocale(const nsAString& aLocale) override; \
  NS_IMETHOD GetMailboxName(nsAString& aMailboxName) override; \
  NS_IMETHOD SetMailboxName(const nsAString& aMailboxName) override; \
  NS_IMETHOD GetProperty(const char * propertyName, nsAString& _retval) override; \
  NS_IMETHOD SetProperty(const char * propertyName, const nsAString& propertyStr) override; \
  NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet) override; \
  NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet) override; \
  NS_IMETHOD GetFolderName(nsACString& aFolderName) override; \
  NS_IMETHOD SetFolderName(const nsACString& aFolderName) 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_NSIDBFOLDERINFO \
  nsresult GetFlags(int32_t *aFlags); \
  nsresult SetFlags(int32_t aFlags); \
  nsresult OrFlags(int32_t aFlags, int32_t *_retval); \
  nsresult AndFlags(int32_t aFlags, int32_t *_retval); \
  nsresult OnKeyAdded(nsMsgKey aNewKey); \
  nsresult GetHighWater(nsMsgKey *aHighWater); \
  nsresult SetHighWater(nsMsgKey aHighWater); \
  nsresult GetExpiredMark(nsMsgKey *aExpiredMark); \
  nsresult SetExpiredMark(nsMsgKey aExpiredMark); \
  nsresult GetFolderSize(int64_t *aFolderSize); \
  nsresult SetFolderSize(int64_t aFolderSize); \
  nsresult GetFolderDate(uint32_t *aFolderDate); \
  nsresult SetFolderDate(uint32_t aFolderDate); \
  nsresult ChangeNumUnreadMessages(int32_t aDelta); \
  nsresult ChangeNumMessages(int32_t aDelta); \
  nsresult GetNumUnreadMessages(int32_t *aNumUnreadMessages); \
  nsresult SetNumUnreadMessages(int32_t aNumUnreadMessages); \
  nsresult GetNumMessages(int32_t *aNumMessages); \
  nsresult SetNumMessages(int32_t aNumMessages); \
  nsresult GetExpungedBytes(int64_t *aExpungedBytes); \
  nsresult SetExpungedBytes(int64_t aExpungedBytes); \
  nsresult GetImapUidValidity(int32_t *aImapUidValidity); \
  nsresult SetImapUidValidity(int32_t aImapUidValidity); \
  nsresult GetVersion(uint32_t *aVersion); \
  nsresult SetVersion(uint32_t aVersion); \
  nsresult GetImapTotalPendingMessages(int32_t *aImapTotalPendingMessages); \
  nsresult SetImapTotalPendingMessages(int32_t aImapTotalPendingMessages); \
  nsresult GetImapUnreadPendingMessages(int32_t *aImapUnreadPendingMessages); \
  nsresult SetImapUnreadPendingMessages(int32_t aImapUnreadPendingMessages); \
  nsresult GetViewType(nsMsgViewTypeValue *aViewType); \
  nsresult SetViewType(nsMsgViewTypeValue aViewType); \
  nsresult GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags); \
  nsresult SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags); \
  nsresult GetSortType(nsMsgViewSortTypeValue *aSortType); \
  nsresult SetSortType(nsMsgViewSortTypeValue aSortType); \
  nsresult GetSortOrder(nsMsgViewSortOrderValue *aSortOrder); \
  nsresult SetSortOrder(nsMsgViewSortOrderValue aSortOrder); \
  nsresult ChangeExpungedBytes(int32_t aDelta); \
  nsresult GetCharProperty(const char * propertyName, nsACString& _retval); \
  nsresult SetCharProperty(const char * aPropertyName, const nsACString& aPropertyValue); \
  nsresult SetUint32Property(const char * propertyName, uint32_t propertyValue); \
  nsresult SetInt64Property(const char * propertyName, int64_t propertyValue); \
  nsresult GetUint32Property(const char * propertyName, uint32_t defaultValue, uint32_t *_retval); \
  nsresult GetInt64Property(const char * propertyName, int64_t defaultValue, int64_t *_retval); \
  nsresult GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval); \
  nsresult SetBooleanProperty(const char * propertyName, bool aPropertyValue); \
  nsresult GetTransferInfo(nsIDBFolderInfo **_retval); \
  nsresult InitFromTransferInfo(nsIDBFolderInfo *transferInfo); \
  nsresult GetCharacterSet(nsACString& aCharacterSet); \
  nsresult SetCharacterSet(const nsACString& aCharacterSet); \
  nsresult GetEffectiveCharacterSet(nsACString& aEffectiveCharacterSet); \
  nsresult GetCharacterSetOverride(bool *aCharacterSetOverride); \
  nsresult SetCharacterSetOverride(bool aCharacterSetOverride); \
  nsresult GetLocale(nsAString& aLocale); \
  nsresult SetLocale(const nsAString& aLocale); \
  nsresult GetMailboxName(nsAString& aMailboxName); \
  nsresult SetMailboxName(const nsAString& aMailboxName); \
  nsresult GetProperty(const char * propertyName, nsAString& _retval); \
  nsresult SetProperty(const char * propertyName, const nsAString& propertyStr); \
  nsresult GetKnownArtsSet(char * *aKnownArtsSet); \
  nsresult SetKnownArtsSet(const char * aKnownArtsSet); \
  nsresult GetFolderName(nsACString& aFolderName); \
  nsresult SetFolderName(const nsACString& aFolderName); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDBFOLDERINFO(_to) \
  NS_IMETHOD GetFlags(int32_t *aFlags) override { return _to GetFlags(aFlags); } \
  NS_IMETHOD SetFlags(int32_t aFlags) override { return _to SetFlags(aFlags); } \
  NS_IMETHOD OrFlags(int32_t aFlags, int32_t *_retval) override { return _to OrFlags(aFlags, _retval); } \
  NS_IMETHOD AndFlags(int32_t aFlags, int32_t *_retval) override { return _to AndFlags(aFlags, _retval); } \
  NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey) override { return _to OnKeyAdded(aNewKey); } \
  NS_IMETHOD GetHighWater(nsMsgKey *aHighWater) override { return _to GetHighWater(aHighWater); } \
  NS_IMETHOD SetHighWater(nsMsgKey aHighWater) override { return _to SetHighWater(aHighWater); } \
  NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark) override { return _to GetExpiredMark(aExpiredMark); } \
  NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark) override { return _to SetExpiredMark(aExpiredMark); } \
  NS_IMETHOD GetFolderSize(int64_t *aFolderSize) override { return _to GetFolderSize(aFolderSize); } \
  NS_IMETHOD SetFolderSize(int64_t aFolderSize) override { return _to SetFolderSize(aFolderSize); } \
  NS_IMETHOD GetFolderDate(uint32_t *aFolderDate) override { return _to GetFolderDate(aFolderDate); } \
  NS_IMETHOD SetFolderDate(uint32_t aFolderDate) override { return _to SetFolderDate(aFolderDate); } \
  NS_IMETHOD ChangeNumUnreadMessages(int32_t aDelta) override { return _to ChangeNumUnreadMessages(aDelta); } \
  NS_IMETHOD ChangeNumMessages(int32_t aDelta) override { return _to ChangeNumMessages(aDelta); } \
  NS_IMETHOD GetNumUnreadMessages(int32_t *aNumUnreadMessages) override { return _to GetNumUnreadMessages(aNumUnreadMessages); } \
  NS_IMETHOD SetNumUnreadMessages(int32_t aNumUnreadMessages) override { return _to SetNumUnreadMessages(aNumUnreadMessages); } \
  NS_IMETHOD GetNumMessages(int32_t *aNumMessages) override { return _to GetNumMessages(aNumMessages); } \
  NS_IMETHOD SetNumMessages(int32_t aNumMessages) override { return _to SetNumMessages(aNumMessages); } \
  NS_IMETHOD GetExpungedBytes(int64_t *aExpungedBytes) override { return _to GetExpungedBytes(aExpungedBytes); } \
  NS_IMETHOD SetExpungedBytes(int64_t aExpungedBytes) override { return _to SetExpungedBytes(aExpungedBytes); } \
  NS_IMETHOD GetImapUidValidity(int32_t *aImapUidValidity) override { return _to GetImapUidValidity(aImapUidValidity); } \
  NS_IMETHOD SetImapUidValidity(int32_t aImapUidValidity) override { return _to SetImapUidValidity(aImapUidValidity); } \
  NS_IMETHOD GetVersion(uint32_t *aVersion) override { return _to GetVersion(aVersion); } \
  NS_IMETHOD SetVersion(uint32_t aVersion) override { return _to SetVersion(aVersion); } \
  NS_IMETHOD GetImapTotalPendingMessages(int32_t *aImapTotalPendingMessages) override { return _to GetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_IMETHOD SetImapTotalPendingMessages(int32_t aImapTotalPendingMessages) override { return _to SetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_IMETHOD GetImapUnreadPendingMessages(int32_t *aImapUnreadPendingMessages) override { return _to GetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_IMETHOD SetImapUnreadPendingMessages(int32_t aImapUnreadPendingMessages) override { return _to SetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) override { return _to GetViewType(aViewType); } \
  NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType) override { return _to SetViewType(aViewType); } \
  NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) override { return _to GetViewFlags(aViewFlags); } \
  NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) override { return _to SetViewFlags(aViewFlags); } \
  NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) override { return _to GetSortType(aSortType); } \
  NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) override { return _to SetSortType(aSortType); } \
  NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) override { return _to GetSortOrder(aSortOrder); } \
  NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder) override { return _to SetSortOrder(aSortOrder); } \
  NS_IMETHOD ChangeExpungedBytes(int32_t aDelta) override { return _to ChangeExpungedBytes(aDelta); } \
  NS_IMETHOD GetCharProperty(const char * propertyName, nsACString& _retval) override { return _to GetCharProperty(propertyName, _retval); } \
  NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString& aPropertyValue) override { return _to SetCharProperty(aPropertyName, aPropertyValue); } \
  NS_IMETHOD SetUint32Property(const char * propertyName, uint32_t propertyValue) override { return _to SetUint32Property(propertyName, propertyValue); } \
  NS_IMETHOD SetInt64Property(const char * propertyName, int64_t propertyValue) override { return _to SetInt64Property(propertyName, propertyValue); } \
  NS_IMETHOD GetUint32Property(const char * propertyName, uint32_t defaultValue, uint32_t *_retval) override { return _to GetUint32Property(propertyName, defaultValue, _retval); } \
  NS_IMETHOD GetInt64Property(const char * propertyName, int64_t defaultValue, int64_t *_retval) override { return _to GetInt64Property(propertyName, defaultValue, _retval); } \
  NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval) override { return _to GetBooleanProperty(propertyName, defaultValue, _retval); } \
  NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue) override { return _to SetBooleanProperty(propertyName, aPropertyValue); } \
  NS_IMETHOD GetTransferInfo(nsIDBFolderInfo **_retval) override { return _to GetTransferInfo(_retval); } \
  NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo) override { return _to InitFromTransferInfo(transferInfo); } \
  NS_IMETHOD GetCharacterSet(nsACString& aCharacterSet) override { return _to GetCharacterSet(aCharacterSet); } \
  NS_IMETHOD SetCharacterSet(const nsACString& aCharacterSet) override { return _to SetCharacterSet(aCharacterSet); } \
  NS_IMETHOD GetEffectiveCharacterSet(nsACString& aEffectiveCharacterSet) override { return _to GetEffectiveCharacterSet(aEffectiveCharacterSet); } \
  NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride) override { return _to GetCharacterSetOverride(aCharacterSetOverride); } \
  NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride) override { return _to SetCharacterSetOverride(aCharacterSetOverride); } \
  NS_IMETHOD GetLocale(nsAString& aLocale) override { return _to GetLocale(aLocale); } \
  NS_IMETHOD SetLocale(const nsAString& aLocale) override { return _to SetLocale(aLocale); } \
  NS_IMETHOD GetMailboxName(nsAString& aMailboxName) override { return _to GetMailboxName(aMailboxName); } \
  NS_IMETHOD SetMailboxName(const nsAString& aMailboxName) override { return _to SetMailboxName(aMailboxName); } \
  NS_IMETHOD GetProperty(const char * propertyName, nsAString& _retval) override { return _to GetProperty(propertyName, _retval); } \
  NS_IMETHOD SetProperty(const char * propertyName, const nsAString& propertyStr) override { return _to SetProperty(propertyName, propertyStr); } \
  NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet) override { return _to GetKnownArtsSet(aKnownArtsSet); } \
  NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet) override { return _to SetKnownArtsSet(aKnownArtsSet); } \
  NS_IMETHOD GetFolderName(nsACString& aFolderName) override { return _to GetFolderName(aFolderName); } \
  NS_IMETHOD SetFolderName(const nsACString& aFolderName) override { return _to SetFolderName(aFolderName); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDBFOLDERINFO(_to) \
  NS_IMETHOD GetFlags(int32_t *aFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlags(aFlags); } \
  NS_IMETHOD SetFlags(int32_t aFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFlags(aFlags); } \
  NS_IMETHOD OrFlags(int32_t aFlags, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OrFlags(aFlags, _retval); } \
  NS_IMETHOD AndFlags(int32_t aFlags, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AndFlags(aFlags, _retval); } \
  NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnKeyAdded(aNewKey); } \
  NS_IMETHOD GetHighWater(nsMsgKey *aHighWater) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHighWater(aHighWater); } \
  NS_IMETHOD SetHighWater(nsMsgKey aHighWater) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHighWater(aHighWater); } \
  NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpiredMark(aExpiredMark); } \
  NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExpiredMark(aExpiredMark); } \
  NS_IMETHOD GetFolderSize(int64_t *aFolderSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderSize(aFolderSize); } \
  NS_IMETHOD SetFolderSize(int64_t aFolderSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderSize(aFolderSize); } \
  NS_IMETHOD GetFolderDate(uint32_t *aFolderDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderDate(aFolderDate); } \
  NS_IMETHOD SetFolderDate(uint32_t aFolderDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderDate(aFolderDate); } \
  NS_IMETHOD ChangeNumUnreadMessages(int32_t aDelta) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangeNumUnreadMessages(aDelta); } \
  NS_IMETHOD ChangeNumMessages(int32_t aDelta) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangeNumMessages(aDelta); } \
  NS_IMETHOD GetNumUnreadMessages(int32_t *aNumUnreadMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumUnreadMessages(aNumUnreadMessages); } \
  NS_IMETHOD SetNumUnreadMessages(int32_t aNumUnreadMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumUnreadMessages(aNumUnreadMessages); } \
  NS_IMETHOD GetNumMessages(int32_t *aNumMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumMessages(aNumMessages); } \
  NS_IMETHOD SetNumMessages(int32_t aNumMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumMessages(aNumMessages); } \
  NS_IMETHOD GetExpungedBytes(int64_t *aExpungedBytes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpungedBytes(aExpungedBytes); } \
  NS_IMETHOD SetExpungedBytes(int64_t aExpungedBytes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExpungedBytes(aExpungedBytes); } \
  NS_IMETHOD GetImapUidValidity(int32_t *aImapUidValidity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapUidValidity(aImapUidValidity); } \
  NS_IMETHOD SetImapUidValidity(int32_t aImapUidValidity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapUidValidity(aImapUidValidity); } \
  NS_IMETHOD GetVersion(uint32_t *aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
  NS_IMETHOD SetVersion(uint32_t aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVersion(aVersion); } \
  NS_IMETHOD GetImapTotalPendingMessages(int32_t *aImapTotalPendingMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_IMETHOD SetImapTotalPendingMessages(int32_t aImapTotalPendingMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_IMETHOD GetImapUnreadPendingMessages(int32_t *aImapUnreadPendingMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_IMETHOD SetImapUnreadPendingMessages(int32_t aImapUnreadPendingMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewType(aViewType); } \
  NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetViewType(aViewType); } \
  NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewFlags(aViewFlags); } \
  NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetViewFlags(aViewFlags); } \
  NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortType(aSortType); } \
  NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSortType(aSortType); } \
  NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortOrder(aSortOrder); } \
  NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSortOrder(aSortOrder); } \
  NS_IMETHOD ChangeExpungedBytes(int32_t aDelta) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangeExpungedBytes(aDelta); } \
  NS_IMETHOD GetCharProperty(const char * propertyName, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharProperty(propertyName, _retval); } \
  NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString& aPropertyValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharProperty(aPropertyName, aPropertyValue); } \
  NS_IMETHOD SetUint32Property(const char * propertyName, uint32_t propertyValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUint32Property(propertyName, propertyValue); } \
  NS_IMETHOD SetInt64Property(const char * propertyName, int64_t propertyValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInt64Property(propertyName, propertyValue); } \
  NS_IMETHOD GetUint32Property(const char * propertyName, uint32_t defaultValue, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUint32Property(propertyName, defaultValue, _retval); } \
  NS_IMETHOD GetInt64Property(const char * propertyName, int64_t defaultValue, int64_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInt64Property(propertyName, defaultValue, _retval); } \
  NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBooleanProperty(propertyName, defaultValue, _retval); } \
  NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBooleanProperty(propertyName, aPropertyValue); } \
  NS_IMETHOD GetTransferInfo(nsIDBFolderInfo **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransferInfo(_retval); } \
  NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitFromTransferInfo(transferInfo); } \
  NS_IMETHOD GetCharacterSet(nsACString& aCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharacterSet(aCharacterSet); } \
  NS_IMETHOD SetCharacterSet(const nsACString& aCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharacterSet(aCharacterSet); } \
  NS_IMETHOD GetEffectiveCharacterSet(nsACString& aEffectiveCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEffectiveCharacterSet(aEffectiveCharacterSet); } \
  NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharacterSetOverride(aCharacterSetOverride); } \
  NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharacterSetOverride(aCharacterSetOverride); } \
  NS_IMETHOD GetLocale(nsAString& aLocale) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocale(aLocale); } \
  NS_IMETHOD SetLocale(const nsAString& aLocale) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocale(aLocale); } \
  NS_IMETHOD GetMailboxName(nsAString& aMailboxName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailboxName(aMailboxName); } \
  NS_IMETHOD SetMailboxName(const nsAString& aMailboxName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailboxName(aMailboxName); } \
  NS_IMETHOD GetProperty(const char * propertyName, nsAString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperty(propertyName, _retval); } \
  NS_IMETHOD SetProperty(const char * propertyName, const nsAString& propertyStr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(propertyName, propertyStr); } \
  NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKnownArtsSet(aKnownArtsSet); } \
  NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKnownArtsSet(aKnownArtsSet); } \
  NS_IMETHOD GetFolderName(nsACString& aFolderName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderName(aFolderName); } \
  NS_IMETHOD SetFolderName(const nsACString& aFolderName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderName(aFolderName); } 


#endif /* __gen_nsIDBFolderInfo_h__ */