This file is indexed.

/usr/include/thunderbird-11.0.1/nsIMsgImapMailFolder.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
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
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/imap/public/nsIMsgImapMailFolder.idl
 */

#ifndef __gen_nsIMsgImapMailFolder_h__
#define __gen_nsIMsgImapMailFolder_h__


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

#ifndef __gen_nsIMsgFolder_h__
#include "nsIMsgFolder.h"
#endif

#ifndef __gen_nsIStringEnumerator_h__
#include "nsIStringEnumerator.h"
#endif

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

class nsIImapIncomingServer; /* forward declaration */

class nsIMsgParseMailMsgState; /* forward declaration */

class nsIAutoSyncState; /* forward declaration */


/* starting interface:    nsIMsgImapFolderProps */
#define NS_IMSGIMAPFOLDERPROPS_IID_STR "09d99f2c-3e23-4f8c-a536-5c277baa9585"

#define NS_IMSGIMAPFOLDERPROPS_IID \
  {0x09d99f2c, 0x3e23, 0x4f8c, \
    { 0xa5, 0x36, 0x5c, 0x27, 0x7b, 0xaa, 0x95, 0x85 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIMsgImapFolderProps : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGIMAPFOLDERPROPS_IID)

  /* void setFolderType (in AString folderType); */
  NS_SCRIPTABLE NS_IMETHOD SetFolderType(const nsAString & folderType) = 0;

  /* void setFolderTypeDescription (in AString folderTypeDescription); */
  NS_SCRIPTABLE NS_IMETHOD SetFolderTypeDescription(const nsAString & folderTypeDescription) = 0;

  /* void setFolderPermissions (in AString permissions); */
  NS_SCRIPTABLE NS_IMETHOD SetFolderPermissions(const nsAString & permissions) = 0;

  /* void serverDoesntSupportACL (); */
  NS_SCRIPTABLE NS_IMETHOD ServerDoesntSupportACL(void) = 0;

  /* void showQuotaData (in boolean showData); */
  NS_SCRIPTABLE NS_IMETHOD ShowQuotaData(bool showData) = 0;

  /* void setQuotaStatus (in AString folderQuotaStatus); */
  NS_SCRIPTABLE NS_IMETHOD SetQuotaStatus(const nsAString & folderQuotaStatus) = 0;

  /* void setQuotaData (in ACString quotaroot, in unsigned long usedKB, in unsigned long maxKB); */
  NS_SCRIPTABLE NS_IMETHOD SetQuotaData(const nsACString & quotaroot, PRUint32 usedKB, PRUint32 maxKB) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgImapFolderProps, NS_IMSGIMAPFOLDERPROPS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGIMAPFOLDERPROPS \
  NS_SCRIPTABLE NS_IMETHOD SetFolderType(const nsAString & folderType); \
  NS_SCRIPTABLE NS_IMETHOD SetFolderTypeDescription(const nsAString & folderTypeDescription); \
  NS_SCRIPTABLE NS_IMETHOD SetFolderPermissions(const nsAString & permissions); \
  NS_SCRIPTABLE NS_IMETHOD ServerDoesntSupportACL(void); \
  NS_SCRIPTABLE NS_IMETHOD ShowQuotaData(bool showData); \
  NS_SCRIPTABLE NS_IMETHOD SetQuotaStatus(const nsAString & folderQuotaStatus); \
  NS_SCRIPTABLE NS_IMETHOD SetQuotaData(const nsACString & quotaroot, PRUint32 usedKB, PRUint32 maxKB); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGIMAPFOLDERPROPS(_to) \
  NS_SCRIPTABLE NS_IMETHOD SetFolderType(const nsAString & folderType) { return _to SetFolderType(folderType); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderTypeDescription(const nsAString & folderTypeDescription) { return _to SetFolderTypeDescription(folderTypeDescription); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderPermissions(const nsAString & permissions) { return _to SetFolderPermissions(permissions); } \
  NS_SCRIPTABLE NS_IMETHOD ServerDoesntSupportACL(void) { return _to ServerDoesntSupportACL(); } \
  NS_SCRIPTABLE NS_IMETHOD ShowQuotaData(bool showData) { return _to ShowQuotaData(showData); } \
  NS_SCRIPTABLE NS_IMETHOD SetQuotaStatus(const nsAString & folderQuotaStatus) { return _to SetQuotaStatus(folderQuotaStatus); } \
  NS_SCRIPTABLE NS_IMETHOD SetQuotaData(const nsACString & quotaroot, PRUint32 usedKB, PRUint32 maxKB) { return _to SetQuotaData(quotaroot, usedKB, maxKB); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGIMAPFOLDERPROPS(_to) \
  NS_SCRIPTABLE NS_IMETHOD SetFolderType(const nsAString & folderType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderType(folderType); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderTypeDescription(const nsAString & folderTypeDescription) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderTypeDescription(folderTypeDescription); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderPermissions(const nsAString & permissions) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderPermissions(permissions); } \
  NS_SCRIPTABLE NS_IMETHOD ServerDoesntSupportACL(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ServerDoesntSupportACL(); } \
  NS_SCRIPTABLE NS_IMETHOD ShowQuotaData(bool showData) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowQuotaData(showData); } \
  NS_SCRIPTABLE NS_IMETHOD SetQuotaStatus(const nsAString & folderQuotaStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetQuotaStatus(folderQuotaStatus); } \
  NS_SCRIPTABLE NS_IMETHOD SetQuotaData(const nsACString & quotaroot, PRUint32 usedKB, PRUint32 maxKB) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetQuotaData(quotaroot, usedKB, maxKB); } 

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

/* Header file */
class nsMsgImapFolderProps : public nsIMsgImapFolderProps
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGIMAPFOLDERPROPS

  nsMsgImapFolderProps();

private:
  ~nsMsgImapFolderProps();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgImapFolderProps, nsIMsgImapFolderProps)

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

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

/* void setFolderType (in AString folderType); */
NS_IMETHODIMP nsMsgImapFolderProps::SetFolderType(const nsAString & folderType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFolderTypeDescription (in AString folderTypeDescription); */
NS_IMETHODIMP nsMsgImapFolderProps::SetFolderTypeDescription(const nsAString & folderTypeDescription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFolderPermissions (in AString permissions); */
NS_IMETHODIMP nsMsgImapFolderProps::SetFolderPermissions(const nsAString & permissions)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void serverDoesntSupportACL (); */
NS_IMETHODIMP nsMsgImapFolderProps::ServerDoesntSupportACL()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void showQuotaData (in boolean showData); */
NS_IMETHODIMP nsMsgImapFolderProps::ShowQuotaData(bool showData)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setQuotaStatus (in AString folderQuotaStatus); */
NS_IMETHODIMP nsMsgImapFolderProps::SetQuotaStatus(const nsAString & folderQuotaStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setQuotaData (in ACString quotaroot, in unsigned long usedKB, in unsigned long maxKB); */
NS_IMETHODIMP nsMsgImapFolderProps::SetQuotaData(const nsACString & quotaroot, PRUint32 usedKB, PRUint32 maxKB)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIMsgImapMailFolder */
#define NS_IMSGIMAPMAILFOLDER_IID_STR "fea0f455-7adf-4683-bf2f-c95c3fff03df"

#define NS_IMSGIMAPMAILFOLDER_IID \
  {0xfea0f455, 0x7adf, 0x4683, \
    { 0xbf, 0x2f, 0xc9, 0x5c, 0x3f, 0xff, 0x03, 0xdf }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIMsgImapMailFolder : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGIMAPMAILFOLDER_IID)

  /* void removeSubFolder (in nsIMsgFolder folder); */
  NS_SCRIPTABLE NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) = 0;

  /* void createClientSubfolderInfo (in ACString folderName, in char hierarchyDelimiter, in long flags, in boolean suppressNotification); */
  NS_SCRIPTABLE NS_IMETHOD CreateClientSubfolderInfo(const nsACString & folderName, char hierarchyDelimiter, PRInt32 flags, bool suppressNotification) = 0;

  /* void list (); */
  NS_SCRIPTABLE NS_IMETHOD List(void) = 0;

  /* void renameLocal (in ACString newname, in nsIMsgFolder parent); */
  NS_SCRIPTABLE NS_IMETHOD RenameLocal(const nsACString & newname, nsIMsgFolder *parent) = 0;

  /* void prepareToRename (); */
  NS_SCRIPTABLE NS_IMETHOD PrepareToRename(void) = 0;

  /* void performExpand (in nsIMsgWindow aMsgWindow); */
  NS_SCRIPTABLE NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow) = 0;

  /* void recursiveCloseActiveConnections (in nsIImapIncomingServer aImapServer); */
  NS_SCRIPTABLE NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer) = 0;

  /* void renameClient (in nsIMsgWindow msgWindow, in nsIMsgFolder msgFolder, in ACString oldName, in ACString newName); */
  NS_SCRIPTABLE NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString & oldName, const nsACString & newName) = 0;

  /* void storeImapFlags (in long aFlags, in boolean aAddFlags, [array, size_is (aNumKeys)] in nsMsgKey aKeysToFlag, in unsigned long aNumKeys, in nsIUrlListener aUrlListener); */
  NS_SCRIPTABLE NS_IMETHOD StoreImapFlags(PRInt32 aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, PRUint32 aNumKeys, nsIUrlListener *aUrlListener) = 0;

  /* nsIURI setImapFlags (in string uids, in long flags); */
  NS_SCRIPTABLE NS_IMETHOD SetImapFlags(const char * uids, PRInt32 flags, nsIURI * *_retval NS_OUTPARAM) = 0;

  /* void replayOfflineMoveCopy ([array, size_is (numKeys)] in nsMsgKey keys, in unsigned long numKeys, in boolean isMove, in nsIMsgFolder aDstFolder, in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow); */
  NS_SCRIPTABLE NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, PRUint32 numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) = 0;

  /* nsIURI playbackOfflineFolderCreate (in AString folderName, in nsIMsgWindow aWindow); */
  NS_SCRIPTABLE NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString & folderName, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) = 0;

  /* void addMoveResultPseudoKey (in nsMsgKey aMsgKey); */
  NS_SCRIPTABLE NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey) = 0;

  /* void liteSelect (in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow); */
  NS_SCRIPTABLE NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) = 0;

  /* void fillInFolderProps (in nsIMsgImapFolderProps aFolderProps); */
  NS_SCRIPTABLE NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps) = 0;

  /* void resetNamespaceReferences (); */
  NS_SCRIPTABLE NS_IMETHOD ResetNamespaceReferences(void) = 0;

  /* void folderPrivileges (in nsIMsgWindow aWindow); */
  NS_SCRIPTABLE NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow) = 0;

  /* nsIMsgImapMailFolder findOnlineSubFolder (in ACString onlineName); */
  NS_SCRIPTABLE NS_IMETHOD FindOnlineSubFolder(const nsACString & onlineName, nsIMsgImapMailFolder * *_retval NS_OUTPARAM) = 0;

  /* void addFolderRights (in ACString userName, in ACString rights); */
  NS_SCRIPTABLE NS_IMETHOD AddFolderRights(const nsACString & userName, const nsACString & rights) = 0;

  /* void refreshFolderRights (); */
  NS_SCRIPTABLE NS_IMETHOD RefreshFolderRights(void) = 0;

  /* void markPendingRemoval (in nsIMsgDBHdr aHdr, in boolean aMark); */
  NS_SCRIPTABLE NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark) = 0;

  /* void expunge (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
  NS_SCRIPTABLE NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) = 0;

  /* void updateStatus (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
  NS_SCRIPTABLE NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) = 0;

  /* void updateFolderWithListener (in nsIMsgWindow aMsgWindow, in nsIUrlListener aListener); */
  NS_SCRIPTABLE NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener) = 0;

  /* nsIURI issueCommandOnMsgs (in ACString command, in string uids, in nsIMsgWindow aWindow); */
  NS_SCRIPTABLE NS_IMETHOD IssueCommandOnMsgs(const nsACString & command, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) = 0;

  /* nsIURI fetchCustomMsgAttribute (in ACString msgAttribute, in string uids, in nsIMsgWindow aWindow); */
  NS_SCRIPTABLE NS_IMETHOD FetchCustomMsgAttribute(const nsACString & msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) = 0;

  /* nsIURI storeCustomKeywords (in nsIMsgWindow aMsgWindow, in ACString aFlagsToAdd, in ACString aFlagsToSubtract, [array, size_is (aNumKeys)] in nsMsgKey aKeysToStore, in unsigned long aNumKeys); */
  NS_SCRIPTABLE NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString & aFlagsToAdd, const nsACString & aFlagsToSubtract, nsMsgKey *aKeysToStore, PRUint32 aNumKeys, nsIURI * *_retval NS_OUTPARAM) = 0;

  /* void notifyIfNewMail (); */
  NS_SCRIPTABLE NS_IMETHOD NotifyIfNewMail(void) = 0;

  /* void initiateAutoSync (in nsIUrlListener aUrlListener); */
  NS_SCRIPTABLE NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener) = 0;

  /* attribute boolean verifiedAsOnlineFolder; */
  NS_SCRIPTABLE NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder) = 0;

  /* attribute boolean explicitlyVerify; */
  NS_SCRIPTABLE NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify) = 0;

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

  /* attribute long boxFlags; */
  NS_SCRIPTABLE NS_IMETHOD GetBoxFlags(PRInt32 *aBoxFlags) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetBoxFlags(PRInt32 aBoxFlags) = 0;

  /* attribute ACString onlineName; */
  NS_SCRIPTABLE NS_IMETHOD GetOnlineName(nsACString & aOnlineName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetOnlineName(const nsACString & aOnlineName) = 0;

  /* attribute boolean isNamespace; */
  NS_SCRIPTABLE NS_IMETHOD GetIsNamespace(bool *aIsNamespace) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetIsNamespace(bool aIsNamespace) = 0;

  /* readonly attribute boolean canOpenFolder; */
  NS_SCRIPTABLE NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) = 0;

  /* attribute ACString adminUrl; */
  NS_SCRIPTABLE NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl) = 0;

  /* readonly attribute boolean hasAdminUrl; */
  NS_SCRIPTABLE NS_IMETHOD GetHasAdminUrl(bool *aHasAdminUrl) = 0;

  /* attribute boolean performingBiff; */
  NS_SCRIPTABLE NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetPerformingBiff(bool aPerformingBiff) = 0;

  /* readonly attribute nsIMsgParseMailMsgState hdrParser; */
  NS_SCRIPTABLE NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState * *aHdrParser) = 0;

  /* readonly attribute nsIImapIncomingServer imapIncomingServer; */
  NS_SCRIPTABLE NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer * *aImapIncomingServer) = 0;

  /* readonly attribute nsIAutoSyncState autoSyncStateObj; */
  NS_SCRIPTABLE NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState * *aAutoSyncStateObj) = 0;

  /* readonly attribute long serverTotal; */
  NS_SCRIPTABLE NS_IMETHOD GetServerTotal(PRInt32 *aServerTotal) = 0;

  /* readonly attribute long serverUnseen; */
  NS_SCRIPTABLE NS_IMETHOD GetServerUnseen(PRInt32 *aServerUnseen) = 0;

  /* readonly attribute long serverRecent; */
  NS_SCRIPTABLE NS_IMETHOD GetServerRecent(PRInt32 *aServerRecent) = 0;

  /* readonly attribute long serverNextUID; */
  NS_SCRIPTABLE NS_IMETHOD GetServerNextUID(PRInt32 *aServerNextUID) = 0;

  /* void getQuota (out boolean valid, out unsigned long usedKB, out unsigned long maxKB); */
  NS_SCRIPTABLE NS_IMETHOD GetQuota(bool *valid NS_OUTPARAM, PRUint32 *usedKB NS_OUTPARAM, PRUint32 *maxKB NS_OUTPARAM) = 0;

  /* nsIUTF8StringEnumerator getOtherUsersWithAccess (); */
  NS_SCRIPTABLE NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator * *_retval NS_OUTPARAM) = 0;

  /* ACString getPermissionsForUser (in ACString username); */
  NS_SCRIPTABLE NS_IMETHOD GetPermissionsForUser(const nsACString & username, nsACString & _retval NS_OUTPARAM) = 0;

  /* void changePendingTotal (in long aDelta); */
  NS_SCRIPTABLE NS_IMETHOD ChangePendingTotal(PRInt32 aDelta) = 0;

  /* void changePendingUnread (in long aDelta); */
  NS_SCRIPTABLE NS_IMETHOD ChangePendingUnread(PRInt32 aDelta) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgImapMailFolder, NS_IMSGIMAPMAILFOLDER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGIMAPMAILFOLDER \
  NS_SCRIPTABLE NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder); \
  NS_SCRIPTABLE NS_IMETHOD CreateClientSubfolderInfo(const nsACString & folderName, char hierarchyDelimiter, PRInt32 flags, bool suppressNotification); \
  NS_SCRIPTABLE NS_IMETHOD List(void); \
  NS_SCRIPTABLE NS_IMETHOD RenameLocal(const nsACString & newname, nsIMsgFolder *parent); \
  NS_SCRIPTABLE NS_IMETHOD PrepareToRename(void); \
  NS_SCRIPTABLE NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow); \
  NS_SCRIPTABLE NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer); \
  NS_SCRIPTABLE NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString & oldName, const nsACString & newName); \
  NS_SCRIPTABLE NS_IMETHOD StoreImapFlags(PRInt32 aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, PRUint32 aNumKeys, nsIUrlListener *aUrlListener); \
  NS_SCRIPTABLE NS_IMETHOD SetImapFlags(const char * uids, PRInt32 flags, nsIURI * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, PRUint32 numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow); \
  NS_SCRIPTABLE NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString & folderName, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey); \
  NS_SCRIPTABLE NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow); \
  NS_SCRIPTABLE NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps); \
  NS_SCRIPTABLE NS_IMETHOD ResetNamespaceReferences(void); \
  NS_SCRIPTABLE NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow); \
  NS_SCRIPTABLE NS_IMETHOD FindOnlineSubFolder(const nsACString & onlineName, nsIMsgImapMailFolder * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD AddFolderRights(const nsACString & userName, const nsACString & rights); \
  NS_SCRIPTABLE NS_IMETHOD RefreshFolderRights(void); \
  NS_SCRIPTABLE NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark); \
  NS_SCRIPTABLE NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow); \
  NS_SCRIPTABLE NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow); \
  NS_SCRIPTABLE NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener); \
  NS_SCRIPTABLE NS_IMETHOD IssueCommandOnMsgs(const nsACString & command, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD FetchCustomMsgAttribute(const nsACString & msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString & aFlagsToAdd, const nsACString & aFlagsToSubtract, nsMsgKey *aKeysToStore, PRUint32 aNumKeys, nsIURI * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD NotifyIfNewMail(void); \
  NS_SCRIPTABLE NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener); \
  NS_SCRIPTABLE NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder); \
  NS_SCRIPTABLE NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder); \
  NS_SCRIPTABLE NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify); \
  NS_SCRIPTABLE NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify); \
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter); \
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter); \
  NS_SCRIPTABLE NS_IMETHOD GetBoxFlags(PRInt32 *aBoxFlags); \
  NS_SCRIPTABLE NS_IMETHOD SetBoxFlags(PRInt32 aBoxFlags); \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineName(nsACString & aOnlineName); \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineName(const nsACString & aOnlineName); \
  NS_SCRIPTABLE NS_IMETHOD GetIsNamespace(bool *aIsNamespace); \
  NS_SCRIPTABLE NS_IMETHOD SetIsNamespace(bool aIsNamespace); \
  NS_SCRIPTABLE NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder); \
  NS_SCRIPTABLE NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl); \
  NS_SCRIPTABLE NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl); \
  NS_SCRIPTABLE NS_IMETHOD GetHasAdminUrl(bool *aHasAdminUrl); \
  NS_SCRIPTABLE NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff); \
  NS_SCRIPTABLE NS_IMETHOD SetPerformingBiff(bool aPerformingBiff); \
  NS_SCRIPTABLE NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState * *aHdrParser); \
  NS_SCRIPTABLE NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer * *aImapIncomingServer); \
  NS_SCRIPTABLE NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState * *aAutoSyncStateObj); \
  NS_SCRIPTABLE NS_IMETHOD GetServerTotal(PRInt32 *aServerTotal); \
  NS_SCRIPTABLE NS_IMETHOD GetServerUnseen(PRInt32 *aServerUnseen); \
  NS_SCRIPTABLE NS_IMETHOD GetServerRecent(PRInt32 *aServerRecent); \
  NS_SCRIPTABLE NS_IMETHOD GetServerNextUID(PRInt32 *aServerNextUID); \
  NS_SCRIPTABLE NS_IMETHOD GetQuota(bool *valid NS_OUTPARAM, PRUint32 *usedKB NS_OUTPARAM, PRUint32 *maxKB NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetPermissionsForUser(const nsACString & username, nsACString & _retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD ChangePendingTotal(PRInt32 aDelta); \
  NS_SCRIPTABLE NS_IMETHOD ChangePendingUnread(PRInt32 aDelta); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGIMAPMAILFOLDER(_to) \
  NS_SCRIPTABLE NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) { return _to RemoveSubFolder(folder); } \
  NS_SCRIPTABLE NS_IMETHOD CreateClientSubfolderInfo(const nsACString & folderName, char hierarchyDelimiter, PRInt32 flags, bool suppressNotification) { return _to CreateClientSubfolderInfo(folderName, hierarchyDelimiter, flags, suppressNotification); } \
  NS_SCRIPTABLE NS_IMETHOD List(void) { return _to List(); } \
  NS_SCRIPTABLE NS_IMETHOD RenameLocal(const nsACString & newname, nsIMsgFolder *parent) { return _to RenameLocal(newname, parent); } \
  NS_SCRIPTABLE NS_IMETHOD PrepareToRename(void) { return _to PrepareToRename(); } \
  NS_SCRIPTABLE NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow) { return _to PerformExpand(aMsgWindow); } \
  NS_SCRIPTABLE NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer) { return _to RecursiveCloseActiveConnections(aImapServer); } \
  NS_SCRIPTABLE NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString & oldName, const nsACString & newName) { return _to RenameClient(msgWindow, msgFolder, oldName, newName); } \
  NS_SCRIPTABLE NS_IMETHOD StoreImapFlags(PRInt32 aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, PRUint32 aNumKeys, nsIUrlListener *aUrlListener) { return _to StoreImapFlags(aFlags, aAddFlags, aKeysToFlag, aNumKeys, aUrlListener); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapFlags(const char * uids, PRInt32 flags, nsIURI * *_retval NS_OUTPARAM) { return _to SetImapFlags(uids, flags, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, PRUint32 numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) { return _to ReplayOfflineMoveCopy(keys, numKeys, isMove, aDstFolder, aUrlListener, aWindow); } \
  NS_SCRIPTABLE NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString & folderName, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) { return _to PlaybackOfflineFolderCreate(folderName, aWindow, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey) { return _to AddMoveResultPseudoKey(aMsgKey); } \
  NS_SCRIPTABLE NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) { return _to LiteSelect(aUrlListener, aWindow); } \
  NS_SCRIPTABLE NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps) { return _to FillInFolderProps(aFolderProps); } \
  NS_SCRIPTABLE NS_IMETHOD ResetNamespaceReferences(void) { return _to ResetNamespaceReferences(); } \
  NS_SCRIPTABLE NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow) { return _to FolderPrivileges(aWindow); } \
  NS_SCRIPTABLE NS_IMETHOD FindOnlineSubFolder(const nsACString & onlineName, nsIMsgImapMailFolder * *_retval NS_OUTPARAM) { return _to FindOnlineSubFolder(onlineName, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD AddFolderRights(const nsACString & userName, const nsACString & rights) { return _to AddFolderRights(userName, rights); } \
  NS_SCRIPTABLE NS_IMETHOD RefreshFolderRights(void) { return _to RefreshFolderRights(); } \
  NS_SCRIPTABLE NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark) { return _to MarkPendingRemoval(aHdr, aMark); } \
  NS_SCRIPTABLE NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) { return _to Expunge(aListener, aMsgWindow); } \
  NS_SCRIPTABLE NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) { return _to UpdateStatus(aListener, aMsgWindow); } \
  NS_SCRIPTABLE NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener) { return _to UpdateFolderWithListener(aMsgWindow, aListener); } \
  NS_SCRIPTABLE NS_IMETHOD IssueCommandOnMsgs(const nsACString & command, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) { return _to IssueCommandOnMsgs(command, uids, aWindow, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD FetchCustomMsgAttribute(const nsACString & msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) { return _to FetchCustomMsgAttribute(msgAttribute, uids, aWindow, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString & aFlagsToAdd, const nsACString & aFlagsToSubtract, nsMsgKey *aKeysToStore, PRUint32 aNumKeys, nsIURI * *_retval NS_OUTPARAM) { return _to StoreCustomKeywords(aMsgWindow, aFlagsToAdd, aFlagsToSubtract, aKeysToStore, aNumKeys, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD NotifyIfNewMail(void) { return _to NotifyIfNewMail(); } \
  NS_SCRIPTABLE NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener) { return _to InitiateAutoSync(aUrlListener); } \
  NS_SCRIPTABLE NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder) { return _to GetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_SCRIPTABLE NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder) { return _to SetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_SCRIPTABLE NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify) { return _to GetExplicitlyVerify(aExplicitlyVerify); } \
  NS_SCRIPTABLE NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify) { return _to SetExplicitlyVerify(aExplicitlyVerify); } \
  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 GetBoxFlags(PRInt32 *aBoxFlags) { return _to GetBoxFlags(aBoxFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetBoxFlags(PRInt32 aBoxFlags) { return _to SetBoxFlags(aBoxFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineName(nsACString & aOnlineName) { return _to GetOnlineName(aOnlineName); } \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineName(const nsACString & aOnlineName) { return _to SetOnlineName(aOnlineName); } \
  NS_SCRIPTABLE NS_IMETHOD GetIsNamespace(bool *aIsNamespace) { return _to GetIsNamespace(aIsNamespace); } \
  NS_SCRIPTABLE NS_IMETHOD SetIsNamespace(bool aIsNamespace) { return _to SetIsNamespace(aIsNamespace); } \
  NS_SCRIPTABLE NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) { return _to GetCanOpenFolder(aCanOpenFolder); } \
  NS_SCRIPTABLE NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl) { return _to GetAdminUrl(aAdminUrl); } \
  NS_SCRIPTABLE NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl) { return _to SetAdminUrl(aAdminUrl); } \
  NS_SCRIPTABLE NS_IMETHOD GetHasAdminUrl(bool *aHasAdminUrl) { return _to GetHasAdminUrl(aHasAdminUrl); } \
  NS_SCRIPTABLE NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff) { return _to GetPerformingBiff(aPerformingBiff); } \
  NS_SCRIPTABLE NS_IMETHOD SetPerformingBiff(bool aPerformingBiff) { return _to SetPerformingBiff(aPerformingBiff); } \
  NS_SCRIPTABLE NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState * *aHdrParser) { return _to GetHdrParser(aHdrParser); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer * *aImapIncomingServer) { return _to GetImapIncomingServer(aImapIncomingServer); } \
  NS_SCRIPTABLE NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState * *aAutoSyncStateObj) { return _to GetAutoSyncStateObj(aAutoSyncStateObj); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerTotal(PRInt32 *aServerTotal) { return _to GetServerTotal(aServerTotal); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerUnseen(PRInt32 *aServerUnseen) { return _to GetServerUnseen(aServerUnseen); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerRecent(PRInt32 *aServerRecent) { return _to GetServerRecent(aServerRecent); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerNextUID(PRInt32 *aServerNextUID) { return _to GetServerNextUID(aServerNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD GetQuota(bool *valid NS_OUTPARAM, PRUint32 *usedKB NS_OUTPARAM, PRUint32 *maxKB NS_OUTPARAM) { return _to GetQuota(valid, usedKB, maxKB); } \
  NS_SCRIPTABLE NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator * *_retval NS_OUTPARAM) { return _to GetOtherUsersWithAccess(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetPermissionsForUser(const nsACString & username, nsACString & _retval NS_OUTPARAM) { return _to GetPermissionsForUser(username, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD ChangePendingTotal(PRInt32 aDelta) { return _to ChangePendingTotal(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD ChangePendingUnread(PRInt32 aDelta) { return _to ChangePendingUnread(aDelta); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGIMAPMAILFOLDER(_to) \
  NS_SCRIPTABLE NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveSubFolder(folder); } \
  NS_SCRIPTABLE NS_IMETHOD CreateClientSubfolderInfo(const nsACString & folderName, char hierarchyDelimiter, PRInt32 flags, bool suppressNotification) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateClientSubfolderInfo(folderName, hierarchyDelimiter, flags, suppressNotification); } \
  NS_SCRIPTABLE NS_IMETHOD List(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->List(); } \
  NS_SCRIPTABLE NS_IMETHOD RenameLocal(const nsACString & newname, nsIMsgFolder *parent) { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameLocal(newname, parent); } \
  NS_SCRIPTABLE NS_IMETHOD PrepareToRename(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->PrepareToRename(); } \
  NS_SCRIPTABLE NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->PerformExpand(aMsgWindow); } \
  NS_SCRIPTABLE NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer) { return !_to ? NS_ERROR_NULL_POINTER : _to->RecursiveCloseActiveConnections(aImapServer); } \
  NS_SCRIPTABLE NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString & oldName, const nsACString & newName) { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameClient(msgWindow, msgFolder, oldName, newName); } \
  NS_SCRIPTABLE NS_IMETHOD StoreImapFlags(PRInt32 aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, PRUint32 aNumKeys, nsIUrlListener *aUrlListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->StoreImapFlags(aFlags, aAddFlags, aKeysToFlag, aNumKeys, aUrlListener); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapFlags(const char * uids, PRInt32 flags, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapFlags(uids, flags, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, PRUint32 numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplayOfflineMoveCopy(keys, numKeys, isMove, aDstFolder, aUrlListener, aWindow); } \
  NS_SCRIPTABLE NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString & folderName, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaybackOfflineFolderCreate(folderName, aWindow, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddMoveResultPseudoKey(aMsgKey); } \
  NS_SCRIPTABLE NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->LiteSelect(aUrlListener, aWindow); } \
  NS_SCRIPTABLE NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps) { return !_to ? NS_ERROR_NULL_POINTER : _to->FillInFolderProps(aFolderProps); } \
  NS_SCRIPTABLE NS_IMETHOD ResetNamespaceReferences(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetNamespaceReferences(); } \
  NS_SCRIPTABLE NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->FolderPrivileges(aWindow); } \
  NS_SCRIPTABLE NS_IMETHOD FindOnlineSubFolder(const nsACString & onlineName, nsIMsgImapMailFolder * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindOnlineSubFolder(onlineName, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD AddFolderRights(const nsACString & userName, const nsACString & rights) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddFolderRights(userName, rights); } \
  NS_SCRIPTABLE NS_IMETHOD RefreshFolderRights(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshFolderRights(); } \
  NS_SCRIPTABLE NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkPendingRemoval(aHdr, aMark); } \
  NS_SCRIPTABLE NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->Expunge(aListener, aMsgWindow); } \
  NS_SCRIPTABLE NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateStatus(aListener, aMsgWindow); } \
  NS_SCRIPTABLE NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateFolderWithListener(aMsgWindow, aListener); } \
  NS_SCRIPTABLE NS_IMETHOD IssueCommandOnMsgs(const nsACString & command, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->IssueCommandOnMsgs(command, uids, aWindow, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD FetchCustomMsgAttribute(const nsACString & msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FetchCustomMsgAttribute(msgAttribute, uids, aWindow, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString & aFlagsToAdd, const nsACString & aFlagsToSubtract, nsMsgKey *aKeysToStore, PRUint32 aNumKeys, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->StoreCustomKeywords(aMsgWindow, aFlagsToAdd, aFlagsToSubtract, aKeysToStore, aNumKeys, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD NotifyIfNewMail(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyIfNewMail(); } \
  NS_SCRIPTABLE NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitiateAutoSync(aUrlListener); } \
  NS_SCRIPTABLE NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_SCRIPTABLE NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_SCRIPTABLE NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExplicitlyVerify(aExplicitlyVerify); } \
  NS_SCRIPTABLE NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExplicitlyVerify(aExplicitlyVerify); } \
  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 GetBoxFlags(PRInt32 *aBoxFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoxFlags(aBoxFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetBoxFlags(PRInt32 aBoxFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBoxFlags(aBoxFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineName(nsACString & aOnlineName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnlineName(aOnlineName); } \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineName(const nsACString & aOnlineName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnlineName(aOnlineName); } \
  NS_SCRIPTABLE NS_IMETHOD GetIsNamespace(bool *aIsNamespace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsNamespace(aIsNamespace); } \
  NS_SCRIPTABLE NS_IMETHOD SetIsNamespace(bool aIsNamespace) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsNamespace(aIsNamespace); } \
  NS_SCRIPTABLE NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanOpenFolder(aCanOpenFolder); } \
  NS_SCRIPTABLE NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdminUrl(aAdminUrl); } \
  NS_SCRIPTABLE NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAdminUrl(aAdminUrl); } \
  NS_SCRIPTABLE NS_IMETHOD GetHasAdminUrl(bool *aHasAdminUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHasAdminUrl(aHasAdminUrl); } \
  NS_SCRIPTABLE NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPerformingBiff(aPerformingBiff); } \
  NS_SCRIPTABLE NS_IMETHOD SetPerformingBiff(bool aPerformingBiff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPerformingBiff(aPerformingBiff); } \
  NS_SCRIPTABLE NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState * *aHdrParser) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHdrParser(aHdrParser); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer * *aImapIncomingServer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapIncomingServer(aImapIncomingServer); } \
  NS_SCRIPTABLE NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState * *aAutoSyncStateObj) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoSyncStateObj(aAutoSyncStateObj); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerTotal(PRInt32 *aServerTotal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerTotal(aServerTotal); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerUnseen(PRInt32 *aServerUnseen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerUnseen(aServerUnseen); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerRecent(PRInt32 *aServerRecent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerRecent(aServerRecent); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerNextUID(PRInt32 *aServerNextUID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerNextUID(aServerNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD GetQuota(bool *valid NS_OUTPARAM, PRUint32 *usedKB NS_OUTPARAM, PRUint32 *maxKB NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetQuota(valid, usedKB, maxKB); } \
  NS_SCRIPTABLE NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOtherUsersWithAccess(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetPermissionsForUser(const nsACString & username, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPermissionsForUser(username, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD ChangePendingTotal(PRInt32 aDelta) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangePendingTotal(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD ChangePendingUnread(PRInt32 aDelta) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangePendingUnread(aDelta); } 

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

/* Header file */
class nsMsgImapMailFolder : public nsIMsgImapMailFolder
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGIMAPMAILFOLDER

  nsMsgImapMailFolder();

private:
  ~nsMsgImapMailFolder();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgImapMailFolder, nsIMsgImapMailFolder)

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

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

/* void removeSubFolder (in nsIMsgFolder folder); */
NS_IMETHODIMP nsMsgImapMailFolder::RemoveSubFolder(nsIMsgFolder *folder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void createClientSubfolderInfo (in ACString folderName, in char hierarchyDelimiter, in long flags, in boolean suppressNotification); */
NS_IMETHODIMP nsMsgImapMailFolder::CreateClientSubfolderInfo(const nsACString & folderName, char hierarchyDelimiter, PRInt32 flags, bool suppressNotification)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void list (); */
NS_IMETHODIMP nsMsgImapMailFolder::List()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void renameLocal (in ACString newname, in nsIMsgFolder parent); */
NS_IMETHODIMP nsMsgImapMailFolder::RenameLocal(const nsACString & newname, nsIMsgFolder *parent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void prepareToRename (); */
NS_IMETHODIMP nsMsgImapMailFolder::PrepareToRename()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void performExpand (in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::PerformExpand(nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void recursiveCloseActiveConnections (in nsIImapIncomingServer aImapServer); */
NS_IMETHODIMP nsMsgImapMailFolder::RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void renameClient (in nsIMsgWindow msgWindow, in nsIMsgFolder msgFolder, in ACString oldName, in ACString newName); */
NS_IMETHODIMP nsMsgImapMailFolder::RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString & oldName, const nsACString & newName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void storeImapFlags (in long aFlags, in boolean aAddFlags, [array, size_is (aNumKeys)] in nsMsgKey aKeysToFlag, in unsigned long aNumKeys, in nsIUrlListener aUrlListener); */
NS_IMETHODIMP nsMsgImapMailFolder::StoreImapFlags(PRInt32 aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, PRUint32 aNumKeys, nsIUrlListener *aUrlListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI setImapFlags (in string uids, in long flags); */
NS_IMETHODIMP nsMsgImapMailFolder::SetImapFlags(const char * uids, PRInt32 flags, nsIURI * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void replayOfflineMoveCopy ([array, size_is (numKeys)] in nsMsgKey keys, in unsigned long numKeys, in boolean isMove, in nsIMsgFolder aDstFolder, in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::ReplayOfflineMoveCopy(nsMsgKey *keys, PRUint32 numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI playbackOfflineFolderCreate (in AString folderName, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::PlaybackOfflineFolderCreate(const nsAString & folderName, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addMoveResultPseudoKey (in nsMsgKey aMsgKey); */
NS_IMETHODIMP nsMsgImapMailFolder::AddMoveResultPseudoKey(nsMsgKey aMsgKey)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void liteSelect (in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void fillInFolderProps (in nsIMsgImapFolderProps aFolderProps); */
NS_IMETHODIMP nsMsgImapMailFolder::FillInFolderProps(nsIMsgImapFolderProps *aFolderProps)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void resetNamespaceReferences (); */
NS_IMETHODIMP nsMsgImapMailFolder::ResetNamespaceReferences()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void folderPrivileges (in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::FolderPrivileges(nsIMsgWindow *aWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIMsgImapMailFolder findOnlineSubFolder (in ACString onlineName); */
NS_IMETHODIMP nsMsgImapMailFolder::FindOnlineSubFolder(const nsACString & onlineName, nsIMsgImapMailFolder * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addFolderRights (in ACString userName, in ACString rights); */
NS_IMETHODIMP nsMsgImapMailFolder::AddFolderRights(const nsACString & userName, const nsACString & rights)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void refreshFolderRights (); */
NS_IMETHODIMP nsMsgImapMailFolder::RefreshFolderRights()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void markPendingRemoval (in nsIMsgDBHdr aHdr, in boolean aMark); */
NS_IMETHODIMP nsMsgImapMailFolder::MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void expunge (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void updateStatus (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void updateFolderWithListener (in nsIMsgWindow aMsgWindow, in nsIUrlListener aListener); */
NS_IMETHODIMP nsMsgImapMailFolder::UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI issueCommandOnMsgs (in ACString command, in string uids, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::IssueCommandOnMsgs(const nsACString & command, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI fetchCustomMsgAttribute (in ACString msgAttribute, in string uids, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::FetchCustomMsgAttribute(const nsACString & msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI storeCustomKeywords (in nsIMsgWindow aMsgWindow, in ACString aFlagsToAdd, in ACString aFlagsToSubtract, [array, size_is (aNumKeys)] in nsMsgKey aKeysToStore, in unsigned long aNumKeys); */
NS_IMETHODIMP nsMsgImapMailFolder::StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString & aFlagsToAdd, const nsACString & aFlagsToSubtract, nsMsgKey *aKeysToStore, PRUint32 aNumKeys, nsIURI * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void notifyIfNewMail (); */
NS_IMETHODIMP nsMsgImapMailFolder::NotifyIfNewMail()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void initiateAutoSync (in nsIUrlListener aUrlListener); */
NS_IMETHODIMP nsMsgImapMailFolder::InitiateAutoSync(nsIUrlListener *aUrlListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean verifiedAsOnlineFolder; */
NS_IMETHODIMP nsMsgImapMailFolder::GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean explicitlyVerify; */
NS_IMETHODIMP nsMsgImapMailFolder::GetExplicitlyVerify(bool *aExplicitlyVerify)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetExplicitlyVerify(bool aExplicitlyVerify)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* attribute long boxFlags; */
NS_IMETHODIMP nsMsgImapMailFolder::GetBoxFlags(PRInt32 *aBoxFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetBoxFlags(PRInt32 aBoxFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString onlineName; */
NS_IMETHODIMP nsMsgImapMailFolder::GetOnlineName(nsACString & aOnlineName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetOnlineName(const nsACString & aOnlineName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isNamespace; */
NS_IMETHODIMP nsMsgImapMailFolder::GetIsNamespace(bool *aIsNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetIsNamespace(bool aIsNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean canOpenFolder; */
NS_IMETHODIMP nsMsgImapMailFolder::GetCanOpenFolder(bool *aCanOpenFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString adminUrl; */
NS_IMETHODIMP nsMsgImapMailFolder::GetAdminUrl(nsACString & aAdminUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetAdminUrl(const nsACString & aAdminUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean hasAdminUrl; */
NS_IMETHODIMP nsMsgImapMailFolder::GetHasAdminUrl(bool *aHasAdminUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean performingBiff; */
NS_IMETHODIMP nsMsgImapMailFolder::GetPerformingBiff(bool *aPerformingBiff)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetPerformingBiff(bool aPerformingBiff)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIMsgParseMailMsgState hdrParser; */
NS_IMETHODIMP nsMsgImapMailFolder::GetHdrParser(nsIMsgParseMailMsgState * *aHdrParser)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIImapIncomingServer imapIncomingServer; */
NS_IMETHODIMP nsMsgImapMailFolder::GetImapIncomingServer(nsIImapIncomingServer * *aImapIncomingServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIAutoSyncState autoSyncStateObj; */
NS_IMETHODIMP nsMsgImapMailFolder::GetAutoSyncStateObj(nsIAutoSyncState * *aAutoSyncStateObj)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverTotal; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerTotal(PRInt32 *aServerTotal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverUnseen; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerUnseen(PRInt32 *aServerUnseen)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverRecent; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerRecent(PRInt32 *aServerRecent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverNextUID; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerNextUID(PRInt32 *aServerNextUID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getQuota (out boolean valid, out unsigned long usedKB, out unsigned long maxKB); */
NS_IMETHODIMP nsMsgImapMailFolder::GetQuota(bool *valid NS_OUTPARAM, PRUint32 *usedKB NS_OUTPARAM, PRUint32 *maxKB NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIUTF8StringEnumerator getOtherUsersWithAccess (); */
NS_IMETHODIMP nsMsgImapMailFolder::GetOtherUsersWithAccess(nsIUTF8StringEnumerator * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString getPermissionsForUser (in ACString username); */
NS_IMETHODIMP nsMsgImapMailFolder::GetPermissionsForUser(const nsACString & username, nsACString & _retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void changePendingTotal (in long aDelta); */
NS_IMETHODIMP nsMsgImapMailFolder::ChangePendingTotal(PRInt32 aDelta)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void changePendingUnread (in long aDelta); */
NS_IMETHODIMP nsMsgImapMailFolder::ChangePendingUnread(PRInt32 aDelta)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgImapMailFolder_h__ */