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

nsIMailboxSpec

Macros

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 452 453 454 455 456 457 458 459 460 461 462 463
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMailboxSpec.idl
 */

#ifndef __gen_nsIMailboxSpec_h__
#define __gen_nsIMailboxSpec_h__


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

#ifndef __gen_nsIImapFlagAndUidState_h__
#include "nsIImapFlagAndUidState.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIMAPNamespace; /* forward declaration */


/* starting interface:    nsIMailboxSpec */
#define NS_IMAILBOXSPEC_IID_STR "a9fbbc80-5291-4ed8-a7f7-c2fcad231269"

#define NS_IMAILBOXSPEC_IID \
  {0xa9fbbc80, 0x5291, 0x4ed8, \
    { 0xa7, 0xf7, 0xc2, 0xfc, 0xad, 0x23, 0x12, 0x69 }}

class NS_NO_VTABLE nsIMailboxSpec : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAILBOXSPEC_IID)

  /* attribute long folder_UIDVALIDITY; */
  NS_IMETHOD GetFolder_UIDVALIDITY(int32_t *aFolder_UIDVALIDITY) = 0;
  NS_IMETHOD SetFolder_UIDVALIDITY(int32_t aFolder_UIDVALIDITY) = 0;

  /* attribute unsigned long long highestModSeq; */
  NS_IMETHOD GetHighestModSeq(uint64_t *aHighestModSeq) = 0;
  NS_IMETHOD SetHighestModSeq(uint64_t aHighestModSeq) = 0;

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

  /* attribute long numUnseenMessages; */
  NS_IMETHOD GetNumUnseenMessages(int32_t *aNumUnseenMessages) = 0;
  NS_IMETHOD SetNumUnseenMessages(int32_t aNumUnseenMessages) = 0;

  /* attribute long numRecentMessages; */
  NS_IMETHOD GetNumRecentMessages(int32_t *aNumRecentMessages) = 0;
  NS_IMETHOD SetNumRecentMessages(int32_t aNumRecentMessages) = 0;

  /* attribute long nextUID; */
  NS_IMETHOD GetNextUID(int32_t *aNextUID) = 0;
  NS_IMETHOD SetNextUID(int32_t aNextUID) = 0;

  /* attribute unsigned long box_flags; */
  NS_IMETHOD GetBox_flags(uint32_t *aBox_flags) = 0;
  NS_IMETHOD SetBox_flags(uint32_t aBox_flags) = 0;

  /* attribute unsigned long supportedUserFlags; */
  NS_IMETHOD GetSupportedUserFlags(uint32_t *aSupportedUserFlags) = 0;
  NS_IMETHOD SetSupportedUserFlags(uint32_t aSupportedUserFlags) = 0;

  /* attribute ACString allocatedPathName; */
  NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) = 0;
  NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) = 0;

  /* attribute AString unicharPathName; */
  NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) = 0;
  NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) = 0;

  /* attribute char hierarchyDelimiter; */
  NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) = 0;
  NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) = 0;

  /* attribute ACString hostName; */
  NS_IMETHOD GetHostName(nsACString & aHostName) = 0;
  NS_IMETHOD SetHostName(const nsACString & aHostName) = 0;

  /* attribute nsIImapFlagAndUidState flagState; */
  NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) = 0;
  NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) = 0;

  /* attribute boolean folderSelected; */
  NS_IMETHOD GetFolderSelected(bool *aFolderSelected) = 0;
  NS_IMETHOD SetFolderSelected(bool aFolderSelected) = 0;

  /* attribute boolean discoveredFromLsub; */
  NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) = 0;
  NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) = 0;

  /* attribute boolean onlineVerified; */
  NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) = 0;
  NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) = 0;

  /* [noscript] attribute nsIMAPNamespace namespaceForFolder; */
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) = 0;
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMailboxSpec, NS_IMAILBOXSPEC_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMAILBOXSPEC \
  NS_IMETHOD GetFolder_UIDVALIDITY(int32_t *aFolder_UIDVALIDITY) override; \
  NS_IMETHOD SetFolder_UIDVALIDITY(int32_t aFolder_UIDVALIDITY) override; \
  NS_IMETHOD GetHighestModSeq(uint64_t *aHighestModSeq) override; \
  NS_IMETHOD SetHighestModSeq(uint64_t aHighestModSeq) override; \
  NS_IMETHOD GetNumMessages(int32_t *aNumMessages) override; \
  NS_IMETHOD SetNumMessages(int32_t aNumMessages) override; \
  NS_IMETHOD GetNumUnseenMessages(int32_t *aNumUnseenMessages) override; \
  NS_IMETHOD SetNumUnseenMessages(int32_t aNumUnseenMessages) override; \
  NS_IMETHOD GetNumRecentMessages(int32_t *aNumRecentMessages) override; \
  NS_IMETHOD SetNumRecentMessages(int32_t aNumRecentMessages) override; \
  NS_IMETHOD GetNextUID(int32_t *aNextUID) override; \
  NS_IMETHOD SetNextUID(int32_t aNextUID) override; \
  NS_IMETHOD GetBox_flags(uint32_t *aBox_flags) override; \
  NS_IMETHOD SetBox_flags(uint32_t aBox_flags) override; \
  NS_IMETHOD GetSupportedUserFlags(uint32_t *aSupportedUserFlags) override; \
  NS_IMETHOD SetSupportedUserFlags(uint32_t aSupportedUserFlags) override; \
  NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) override; \
  NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) override; \
  NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) override; \
  NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) override; \
  NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) override; \
  NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) override; \
  NS_IMETHOD GetHostName(nsACString & aHostName) override; \
  NS_IMETHOD SetHostName(const nsACString & aHostName) override; \
  NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) override; \
  NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) override; \
  NS_IMETHOD GetFolderSelected(bool *aFolderSelected) override; \
  NS_IMETHOD SetFolderSelected(bool aFolderSelected) override; \
  NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) override; \
  NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) override; \
  NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) override; \
  NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) override; \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) override; \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) 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_NSIMAILBOXSPEC \
  nsresult GetFolder_UIDVALIDITY(int32_t *aFolder_UIDVALIDITY); \
  nsresult SetFolder_UIDVALIDITY(int32_t aFolder_UIDVALIDITY); \
  nsresult GetHighestModSeq(uint64_t *aHighestModSeq); \
  nsresult SetHighestModSeq(uint64_t aHighestModSeq); \
  nsresult GetNumMessages(int32_t *aNumMessages); \
  nsresult SetNumMessages(int32_t aNumMessages); \
  nsresult GetNumUnseenMessages(int32_t *aNumUnseenMessages); \
  nsresult SetNumUnseenMessages(int32_t aNumUnseenMessages); \
  nsresult GetNumRecentMessages(int32_t *aNumRecentMessages); \
  nsresult SetNumRecentMessages(int32_t aNumRecentMessages); \
  nsresult GetNextUID(int32_t *aNextUID); \
  nsresult SetNextUID(int32_t aNextUID); \
  nsresult GetBox_flags(uint32_t *aBox_flags); \
  nsresult SetBox_flags(uint32_t aBox_flags); \
  nsresult GetSupportedUserFlags(uint32_t *aSupportedUserFlags); \
  nsresult SetSupportedUserFlags(uint32_t aSupportedUserFlags); \
  nsresult GetAllocatedPathName(nsACString & aAllocatedPathName); \
  nsresult SetAllocatedPathName(const nsACString & aAllocatedPathName); \
  nsresult GetUnicharPathName(nsAString & aUnicharPathName); \
  nsresult SetUnicharPathName(const nsAString & aUnicharPathName); \
  nsresult GetHierarchyDelimiter(char *aHierarchyDelimiter); \
  nsresult SetHierarchyDelimiter(char aHierarchyDelimiter); \
  nsresult GetHostName(nsACString & aHostName); \
  nsresult SetHostName(const nsACString & aHostName); \
  nsresult GetFlagState(nsIImapFlagAndUidState * *aFlagState); \
  nsresult SetFlagState(nsIImapFlagAndUidState *aFlagState); \
  nsresult GetFolderSelected(bool *aFolderSelected); \
  nsresult SetFolderSelected(bool aFolderSelected); \
  nsresult GetDiscoveredFromLsub(bool *aDiscoveredFromLsub); \
  nsresult SetDiscoveredFromLsub(bool aDiscoveredFromLsub); \
  nsresult GetOnlineVerified(bool *aOnlineVerified); \
  nsresult SetOnlineVerified(bool aOnlineVerified); \
  nsresult GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder); \
  nsresult SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMAILBOXSPEC(_to) \
  NS_IMETHOD GetFolder_UIDVALIDITY(int32_t *aFolder_UIDVALIDITY) override { return _to GetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_IMETHOD SetFolder_UIDVALIDITY(int32_t aFolder_UIDVALIDITY) override { return _to SetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_IMETHOD GetHighestModSeq(uint64_t *aHighestModSeq) override { return _to GetHighestModSeq(aHighestModSeq); } \
  NS_IMETHOD SetHighestModSeq(uint64_t aHighestModSeq) override { return _to SetHighestModSeq(aHighestModSeq); } \
  NS_IMETHOD GetNumMessages(int32_t *aNumMessages) override { return _to GetNumMessages(aNumMessages); } \
  NS_IMETHOD SetNumMessages(int32_t aNumMessages) override { return _to SetNumMessages(aNumMessages); } \
  NS_IMETHOD GetNumUnseenMessages(int32_t *aNumUnseenMessages) override { return _to GetNumUnseenMessages(aNumUnseenMessages); } \
  NS_IMETHOD SetNumUnseenMessages(int32_t aNumUnseenMessages) override { return _to SetNumUnseenMessages(aNumUnseenMessages); } \
  NS_IMETHOD GetNumRecentMessages(int32_t *aNumRecentMessages) override { return _to GetNumRecentMessages(aNumRecentMessages); } \
  NS_IMETHOD SetNumRecentMessages(int32_t aNumRecentMessages) override { return _to SetNumRecentMessages(aNumRecentMessages); } \
  NS_IMETHOD GetNextUID(int32_t *aNextUID) override { return _to GetNextUID(aNextUID); } \
  NS_IMETHOD SetNextUID(int32_t aNextUID) override { return _to SetNextUID(aNextUID); } \
  NS_IMETHOD GetBox_flags(uint32_t *aBox_flags) override { return _to GetBox_flags(aBox_flags); } \
  NS_IMETHOD SetBox_flags(uint32_t aBox_flags) override { return _to SetBox_flags(aBox_flags); } \
  NS_IMETHOD GetSupportedUserFlags(uint32_t *aSupportedUserFlags) override { return _to GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_IMETHOD SetSupportedUserFlags(uint32_t aSupportedUserFlags) override { return _to SetSupportedUserFlags(aSupportedUserFlags); } \
  NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) override { return _to GetAllocatedPathName(aAllocatedPathName); } \
  NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) override { return _to SetAllocatedPathName(aAllocatedPathName); } \
  NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) override { return _to GetUnicharPathName(aUnicharPathName); } \
  NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) override { return _to SetUnicharPathName(aUnicharPathName); } \
  NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) override { return _to GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) override { return _to SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD GetHostName(nsACString & aHostName) override { return _to GetHostName(aHostName); } \
  NS_IMETHOD SetHostName(const nsACString & aHostName) override { return _to SetHostName(aHostName); } \
  NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) override { return _to GetFlagState(aFlagState); } \
  NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) override { return _to SetFlagState(aFlagState); } \
  NS_IMETHOD GetFolderSelected(bool *aFolderSelected) override { return _to GetFolderSelected(aFolderSelected); } \
  NS_IMETHOD SetFolderSelected(bool aFolderSelected) override { return _to SetFolderSelected(aFolderSelected); } \
  NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) override { return _to GetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) override { return _to SetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) override { return _to GetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) override { return _to SetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) override { return _to GetNamespaceForFolder(aNamespaceForFolder); } \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) override { return _to SetNamespaceForFolder(aNamespaceForFolder); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMAILBOXSPEC(_to) \
  NS_IMETHOD GetFolder_UIDVALIDITY(int32_t *aFolder_UIDVALIDITY) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_IMETHOD SetFolder_UIDVALIDITY(int32_t aFolder_UIDVALIDITY) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_IMETHOD GetHighestModSeq(uint64_t *aHighestModSeq) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHighestModSeq(aHighestModSeq); } \
  NS_IMETHOD SetHighestModSeq(uint64_t aHighestModSeq) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHighestModSeq(aHighestModSeq); } \
  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 GetNumUnseenMessages(int32_t *aNumUnseenMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumUnseenMessages(aNumUnseenMessages); } \
  NS_IMETHOD SetNumUnseenMessages(int32_t aNumUnseenMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumUnseenMessages(aNumUnseenMessages); } \
  NS_IMETHOD GetNumRecentMessages(int32_t *aNumRecentMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumRecentMessages(aNumRecentMessages); } \
  NS_IMETHOD SetNumRecentMessages(int32_t aNumRecentMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumRecentMessages(aNumRecentMessages); } \
  NS_IMETHOD GetNextUID(int32_t *aNextUID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextUID(aNextUID); } \
  NS_IMETHOD SetNextUID(int32_t aNextUID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNextUID(aNextUID); } \
  NS_IMETHOD GetBox_flags(uint32_t *aBox_flags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBox_flags(aBox_flags); } \
  NS_IMETHOD SetBox_flags(uint32_t aBox_flags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBox_flags(aBox_flags); } \
  NS_IMETHOD GetSupportedUserFlags(uint32_t *aSupportedUserFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_IMETHOD SetSupportedUserFlags(uint32_t aSupportedUserFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSupportedUserFlags(aSupportedUserFlags); } \
  NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllocatedPathName(aAllocatedPathName); } \
  NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllocatedPathName(aAllocatedPathName); } \
  NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnicharPathName(aUnicharPathName); } \
  NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUnicharPathName(aUnicharPathName); } \
  NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD GetHostName(nsACString & aHostName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHostName(aHostName); } \
  NS_IMETHOD SetHostName(const nsACString & aHostName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHostName(aHostName); } \
  NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlagState(aFlagState); } \
  NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFlagState(aFlagState); } \
  NS_IMETHOD GetFolderSelected(bool *aFolderSelected) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderSelected(aFolderSelected); } \
  NS_IMETHOD SetFolderSelected(bool aFolderSelected) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderSelected(aFolderSelected); } \
  NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamespaceForFolder(aNamespaceForFolder); } \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNamespaceForFolder(aNamespaceForFolder); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsMailboxSpec : public nsIMailboxSpec
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMAILBOXSPEC

  nsMailboxSpec();

private:
  ~nsMailboxSpec();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMailboxSpec, nsIMailboxSpec)

nsMailboxSpec::nsMailboxSpec()
{
  /* member initializers and constructor code */
}

nsMailboxSpec::~nsMailboxSpec()
{
  /* destructor code */
}

/* attribute long folder_UIDVALIDITY; */
NS_IMETHODIMP nsMailboxSpec::GetFolder_UIDVALIDITY(int32_t *aFolder_UIDVALIDITY)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetFolder_UIDVALIDITY(int32_t aFolder_UIDVALIDITY)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long long highestModSeq; */
NS_IMETHODIMP nsMailboxSpec::GetHighestModSeq(uint64_t *aHighestModSeq)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetHighestModSeq(uint64_t aHighestModSeq)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long numMessages; */
NS_IMETHODIMP nsMailboxSpec::GetNumMessages(int32_t *aNumMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNumMessages(int32_t aNumMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long numUnseenMessages; */
NS_IMETHODIMP nsMailboxSpec::GetNumUnseenMessages(int32_t *aNumUnseenMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNumUnseenMessages(int32_t aNumUnseenMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long numRecentMessages; */
NS_IMETHODIMP nsMailboxSpec::GetNumRecentMessages(int32_t *aNumRecentMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNumRecentMessages(int32_t aNumRecentMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long nextUID; */
NS_IMETHODIMP nsMailboxSpec::GetNextUID(int32_t *aNextUID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNextUID(int32_t aNextUID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long box_flags; */
NS_IMETHODIMP nsMailboxSpec::GetBox_flags(uint32_t *aBox_flags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetBox_flags(uint32_t aBox_flags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long supportedUserFlags; */
NS_IMETHODIMP nsMailboxSpec::GetSupportedUserFlags(uint32_t *aSupportedUserFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetSupportedUserFlags(uint32_t aSupportedUserFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString allocatedPathName; */
NS_IMETHODIMP nsMailboxSpec::GetAllocatedPathName(nsACString & aAllocatedPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetAllocatedPathName(const nsACString & aAllocatedPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString unicharPathName; */
NS_IMETHODIMP nsMailboxSpec::GetUnicharPathName(nsAString & aUnicharPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetUnicharPathName(const nsAString & aUnicharPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute char hierarchyDelimiter; */
NS_IMETHODIMP nsMailboxSpec::GetHierarchyDelimiter(char *aHierarchyDelimiter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetHierarchyDelimiter(char aHierarchyDelimiter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString hostName; */
NS_IMETHODIMP nsMailboxSpec::GetHostName(nsACString & aHostName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetHostName(const nsACString & aHostName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIImapFlagAndUidState flagState; */
NS_IMETHODIMP nsMailboxSpec::GetFlagState(nsIImapFlagAndUidState * *aFlagState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetFlagState(nsIImapFlagAndUidState *aFlagState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean folderSelected; */
NS_IMETHODIMP nsMailboxSpec::GetFolderSelected(bool *aFolderSelected)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetFolderSelected(bool aFolderSelected)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean discoveredFromLsub; */
NS_IMETHODIMP nsMailboxSpec::GetDiscoveredFromLsub(bool *aDiscoveredFromLsub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetDiscoveredFromLsub(bool aDiscoveredFromLsub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean onlineVerified; */
NS_IMETHODIMP nsMailboxSpec::GetOnlineVerified(bool *aOnlineVerified)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetOnlineVerified(bool aOnlineVerified)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] attribute nsIMAPNamespace namespaceForFolder; */
NS_IMETHODIMP nsMailboxSpec::GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIMailboxSpec_h__ */