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

#ifndef __gen_nsIMailboxSpec_h__
#define __gen_nsIMailboxSpec_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.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
class nsIImapFlagAndUidState; /* forward declaration */

class nsIMAPNamespace;

/* 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; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFolder_UIDVALIDITY(int32_t *aFolder_UIDVALIDITY) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolder_UIDVALIDITY(int32_t aFolder_UIDVALIDITY) = 0;

  /* attribute unsigned long long highestModSeq; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHighestModSeq(uint64_t *aHighestModSeq) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetHighestModSeq(uint64_t aHighestModSeq) = 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 numUnseenMessages; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNumUnseenMessages(int32_t *aNumUnseenMessages) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNumUnseenMessages(int32_t aNumUnseenMessages) = 0;

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

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

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

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

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

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

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

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

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

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

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

  /* attribute boolean onlineVerified; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) = 0;
  JS_HAZ_CAN_RUN_SCRIPT 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); } 


#endif /* __gen_nsIMailboxSpec_h__ */