This file is indexed.

/usr/include/thunderbird-11.0.1/nsIMailboxSpec.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/imap/public/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 NS_SCRIPTABLE nsIMailboxSpec : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAILBOXSPEC_IID)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* attribute boolean onlineVerified; */
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) = 0;
  NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY); \
  NS_SCRIPTABLE NS_IMETHOD SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY); \
  NS_SCRIPTABLE NS_IMETHOD GetHighestModSeq(PRUint64 *aHighestModSeq); \
  NS_SCRIPTABLE NS_IMETHOD SetHighestModSeq(PRUint64 aHighestModSeq); \
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNumUnseenMessages(PRInt32 *aNumUnseenMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnseenMessages(PRInt32 aNumUnseenMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNumRecentMessages(PRInt32 *aNumRecentMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumRecentMessages(PRInt32 aNumRecentMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNextUID(PRInt32 *aNextUID); \
  NS_SCRIPTABLE NS_IMETHOD SetNextUID(PRInt32 aNextUID); \
  NS_SCRIPTABLE NS_IMETHOD GetBox_flags(PRUint32 *aBox_flags); \
  NS_SCRIPTABLE NS_IMETHOD SetBox_flags(PRUint32 aBox_flags); \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint32 *aSupportedUserFlags); \
  NS_SCRIPTABLE NS_IMETHOD SetSupportedUserFlags(PRUint32 aSupportedUserFlags); \
  NS_SCRIPTABLE NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName); \
  NS_SCRIPTABLE NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName); \
  NS_SCRIPTABLE NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName); \
  NS_SCRIPTABLE NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName); \
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter); \
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter); \
  NS_SCRIPTABLE NS_IMETHOD GetHostName(nsACString & aHostName); \
  NS_SCRIPTABLE NS_IMETHOD SetHostName(const nsACString & aHostName); \
  NS_SCRIPTABLE NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState); \
  NS_SCRIPTABLE NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState); \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSelected(bool *aFolderSelected); \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSelected(bool aFolderSelected); \
  NS_SCRIPTABLE NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub); \
  NS_SCRIPTABLE NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub); \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified); \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineVerified(bool aOnlineVerified); \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder); \
  NS_IMETHOD 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_SCRIPTABLE NS_IMETHOD GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY) { return _to GetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY) { return _to SetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD GetHighestModSeq(PRUint64 *aHighestModSeq) { return _to GetHighestModSeq(aHighestModSeq); } \
  NS_SCRIPTABLE NS_IMETHOD SetHighestModSeq(PRUint64 aHighestModSeq) { return _to SetHighestModSeq(aHighestModSeq); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages) { return _to GetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages) { return _to SetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumUnseenMessages(PRInt32 *aNumUnseenMessages) { return _to GetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnseenMessages(PRInt32 aNumUnseenMessages) { return _to SetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumRecentMessages(PRInt32 *aNumRecentMessages) { return _to GetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumRecentMessages(PRInt32 aNumRecentMessages) { return _to SetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNextUID(PRInt32 *aNextUID) { return _to GetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD SetNextUID(PRInt32 aNextUID) { return _to SetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD GetBox_flags(PRUint32 *aBox_flags) { return _to GetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD SetBox_flags(PRUint32 aBox_flags) { return _to SetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint32 *aSupportedUserFlags) { return _to GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetSupportedUserFlags(PRUint32 aSupportedUserFlags) { return _to SetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) { return _to GetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) { return _to SetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) { return _to GetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) { return _to SetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) { return _to GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) { return _to SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD GetHostName(nsACString & aHostName) { return _to GetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD SetHostName(const nsACString & aHostName) { return _to SetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) { return _to GetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) { return _to SetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSelected(bool *aFolderSelected) { return _to GetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSelected(bool aFolderSelected) { return _to SetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) { return _to GetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) { return _to SetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) { return _to GetOnlineVerified(aOnlineVerified); } \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) { return _to SetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) { return _to GetNamespaceForFolder(aNamespaceForFolder); } \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) { 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_SCRIPTABLE NS_IMETHOD GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD GetHighestModSeq(PRUint64 *aHighestModSeq) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHighestModSeq(aHighestModSeq); } \
  NS_SCRIPTABLE NS_IMETHOD SetHighestModSeq(PRUint64 aHighestModSeq) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHighestModSeq(aHighestModSeq); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumUnseenMessages(PRInt32 *aNumUnseenMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnseenMessages(PRInt32 aNumUnseenMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumRecentMessages(PRInt32 *aNumRecentMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumRecentMessages(PRInt32 aNumRecentMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNextUID(PRInt32 *aNextUID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD SetNextUID(PRInt32 aNextUID) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD GetBox_flags(PRUint32 *aBox_flags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD SetBox_flags(PRUint32 aBox_flags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint32 *aSupportedUserFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetSupportedUserFlags(PRUint32 aSupportedUserFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD GetHostName(nsACString & aHostName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD SetHostName(const nsACString & aHostName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSelected(bool *aFolderSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSelected(bool aFolderSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnlineVerified(aOnlineVerified); } \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamespaceForFolder(aNamespaceForFolder); } \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) { 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_ISUPPORTS1(nsMailboxSpec, nsIMailboxSpec)

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

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

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

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

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

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

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

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

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

/* attribute unsigned long supportedUserFlags; */
NS_IMETHODIMP nsMailboxSpec::GetSupportedUserFlags(PRUint32 *aSupportedUserFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetSupportedUserFlags(PRUint32 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__ */