This file is indexed.

/usr/include/thunderbird-11.0.1/nsISpamSettings.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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/base/public/nsISpamSettings.idl
 */

#ifndef __gen_nsISpamSettings_h__
#define __gen_nsISpamSettings_h__


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

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

class nsIMsgIncomingServer; /* forward declaration */

class nsIMsgDBHdr; /* forward declaration */

class nsIFile; /* forward declaration */


/* starting interface:    nsISpamSettings */
#define NS_ISPAMSETTINGS_IID_STR "1772be95-fda9-4dfd-a663-8af92c1e3024"

#define NS_ISPAMSETTINGS_IID \
  {0x1772be95, 0xfda9, 0x4dfd, \
    { 0xa6, 0x63, 0x8a, 0xf9, 0x2c, 0x1e, 0x30, 0x24 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsISpamSettings : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISPAMSETTINGS_IID)

  /* attribute long level; */
  NS_SCRIPTABLE NS_IMETHOD GetLevel(PRInt32 *aLevel) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetLevel(PRInt32 aLevel) = 0;

  /* attribute boolean moveOnSpam; */
  NS_SCRIPTABLE NS_IMETHOD GetMoveOnSpam(bool *aMoveOnSpam) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetMoveOnSpam(bool aMoveOnSpam) = 0;

  /* readonly attribute boolean markAsReadOnSpam; */
  NS_SCRIPTABLE NS_IMETHOD GetMarkAsReadOnSpam(bool *aMarkAsReadOnSpam) = 0;

  /* attribute long moveTargetMode; */
  NS_SCRIPTABLE NS_IMETHOD GetMoveTargetMode(PRInt32 *aMoveTargetMode) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetMoveTargetMode(PRInt32 aMoveTargetMode) = 0;

  enum {
    MOVE_TARGET_MODE_ACCOUNT = 0,
    MOVE_TARGET_MODE_FOLDER = 1
  };

  /* attribute string actionTargetAccount; */
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetAccount(char * *aActionTargetAccount) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetAccount(const char * aActionTargetAccount) = 0;

  /* attribute string actionTargetFolder; */
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetFolder(char * *aActionTargetFolder) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetFolder(const char * aActionTargetFolder) = 0;

  /* readonly attribute string spamFolderURI; */
  NS_SCRIPTABLE NS_IMETHOD GetSpamFolderURI(char * *aSpamFolderURI) = 0;

  /* attribute boolean purge; */
  NS_SCRIPTABLE NS_IMETHOD GetPurge(bool *aPurge) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetPurge(bool aPurge) = 0;

  /* attribute long purgeInterval; */
  NS_SCRIPTABLE NS_IMETHOD GetPurgeInterval(PRInt32 *aPurgeInterval) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetPurgeInterval(PRInt32 aPurgeInterval) = 0;

  /* attribute boolean useWhiteList; */
  NS_SCRIPTABLE NS_IMETHOD GetUseWhiteList(bool *aUseWhiteList) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetUseWhiteList(bool aUseWhiteList) = 0;

  /* attribute string whiteListAbURI; */
  NS_SCRIPTABLE NS_IMETHOD GetWhiteListAbURI(char * *aWhiteListAbURI) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetWhiteListAbURI(const char * aWhiteListAbURI) = 0;

  /* readonly attribute boolean manualMark; */
  NS_SCRIPTABLE NS_IMETHOD GetManualMark(bool *aManualMark) = 0;

  /* readonly attribute long manualMarkMode; */
  NS_SCRIPTABLE NS_IMETHOD GetManualMarkMode(PRInt32 *aManualMarkMode) = 0;

  enum {
    MANUAL_MARK_MODE_MOVE = 0,
    MANUAL_MARK_MODE_DELETE = 1
  };

  /* attribute boolean useServerFilter; */
  NS_SCRIPTABLE NS_IMETHOD GetUseServerFilter(bool *aUseServerFilter) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetUseServerFilter(bool aUseServerFilter) = 0;

  /* attribute ACString serverFilterName; */
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterName(nsACString & aServerFilterName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterName(const nsACString & aServerFilterName) = 0;

  /* readonly attribute nsIFile serverFilterFile; */
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterFile(nsIFile * *aServerFilterFile) = 0;

  enum {
    TRUST_POSITIVES = 1,
    TRUST_NEGATIVES = 2
  };

  /* attribute long serverFilterTrustFlags; */
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterTrustFlags(PRInt32 *aServerFilterTrustFlags) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterTrustFlags(PRInt32 aServerFilterTrustFlags) = 0;

  /* readonly attribute boolean loggingEnabled; */
  NS_SCRIPTABLE NS_IMETHOD GetLoggingEnabled(bool *aLoggingEnabled) = 0;

  /* attribute nsIOutputStream logStream; */
  NS_SCRIPTABLE NS_IMETHOD GetLogStream(nsIOutputStream * *aLogStream) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetLogStream(nsIOutputStream *aLogStream) = 0;

  /* void logJunkHit (in nsIMsgDBHdr aMsgHdr, in boolean aMoveMessage); */
  NS_SCRIPTABLE NS_IMETHOD LogJunkHit(nsIMsgDBHdr *aMsgHdr, bool aMoveMessage) = 0;

  /* void logJunkString (in string aLogText); */
  NS_SCRIPTABLE NS_IMETHOD LogJunkString(const char * aLogText) = 0;

  /* void clone (in nsISpamSettings aSpamSettings); */
  NS_SCRIPTABLE NS_IMETHOD Clone(nsISpamSettings *aSpamSettings) = 0;

  /* void initialize (in nsIMsgIncomingServer aServer); */
  NS_SCRIPTABLE NS_IMETHOD Initialize(nsIMsgIncomingServer *aServer) = 0;

  /* boolean checkWhiteList (in nsIMsgDBHdr aMsgHdr); */
  NS_SCRIPTABLE NS_IMETHOD CheckWhiteList(nsIMsgDBHdr *aMsgHdr, bool *_retval NS_OUTPARAM) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISpamSettings, NS_ISPAMSETTINGS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISPAMSETTINGS \
  NS_SCRIPTABLE NS_IMETHOD GetLevel(PRInt32 *aLevel); \
  NS_SCRIPTABLE NS_IMETHOD SetLevel(PRInt32 aLevel); \
  NS_SCRIPTABLE NS_IMETHOD GetMoveOnSpam(bool *aMoveOnSpam); \
  NS_SCRIPTABLE NS_IMETHOD SetMoveOnSpam(bool aMoveOnSpam); \
  NS_SCRIPTABLE NS_IMETHOD GetMarkAsReadOnSpam(bool *aMarkAsReadOnSpam); \
  NS_SCRIPTABLE NS_IMETHOD GetMoveTargetMode(PRInt32 *aMoveTargetMode); \
  NS_SCRIPTABLE NS_IMETHOD SetMoveTargetMode(PRInt32 aMoveTargetMode); \
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetAccount(char * *aActionTargetAccount); \
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetAccount(const char * aActionTargetAccount); \
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetFolder(char * *aActionTargetFolder); \
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetFolder(const char * aActionTargetFolder); \
  NS_SCRIPTABLE NS_IMETHOD GetSpamFolderURI(char * *aSpamFolderURI); \
  NS_SCRIPTABLE NS_IMETHOD GetPurge(bool *aPurge); \
  NS_SCRIPTABLE NS_IMETHOD SetPurge(bool aPurge); \
  NS_SCRIPTABLE NS_IMETHOD GetPurgeInterval(PRInt32 *aPurgeInterval); \
  NS_SCRIPTABLE NS_IMETHOD SetPurgeInterval(PRInt32 aPurgeInterval); \
  NS_SCRIPTABLE NS_IMETHOD GetUseWhiteList(bool *aUseWhiteList); \
  NS_SCRIPTABLE NS_IMETHOD SetUseWhiteList(bool aUseWhiteList); \
  NS_SCRIPTABLE NS_IMETHOD GetWhiteListAbURI(char * *aWhiteListAbURI); \
  NS_SCRIPTABLE NS_IMETHOD SetWhiteListAbURI(const char * aWhiteListAbURI); \
  NS_SCRIPTABLE NS_IMETHOD GetManualMark(bool *aManualMark); \
  NS_SCRIPTABLE NS_IMETHOD GetManualMarkMode(PRInt32 *aManualMarkMode); \
  NS_SCRIPTABLE NS_IMETHOD GetUseServerFilter(bool *aUseServerFilter); \
  NS_SCRIPTABLE NS_IMETHOD SetUseServerFilter(bool aUseServerFilter); \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterName(nsACString & aServerFilterName); \
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterName(const nsACString & aServerFilterName); \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterFile(nsIFile * *aServerFilterFile); \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterTrustFlags(PRInt32 *aServerFilterTrustFlags); \
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterTrustFlags(PRInt32 aServerFilterTrustFlags); \
  NS_SCRIPTABLE NS_IMETHOD GetLoggingEnabled(bool *aLoggingEnabled); \
  NS_SCRIPTABLE NS_IMETHOD GetLogStream(nsIOutputStream * *aLogStream); \
  NS_SCRIPTABLE NS_IMETHOD SetLogStream(nsIOutputStream *aLogStream); \
  NS_SCRIPTABLE NS_IMETHOD LogJunkHit(nsIMsgDBHdr *aMsgHdr, bool aMoveMessage); \
  NS_SCRIPTABLE NS_IMETHOD LogJunkString(const char * aLogText); \
  NS_SCRIPTABLE NS_IMETHOD Clone(nsISpamSettings *aSpamSettings); \
  NS_SCRIPTABLE NS_IMETHOD Initialize(nsIMsgIncomingServer *aServer); \
  NS_SCRIPTABLE NS_IMETHOD CheckWhiteList(nsIMsgDBHdr *aMsgHdr, bool *_retval NS_OUTPARAM); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISPAMSETTINGS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetLevel(PRInt32 *aLevel) { return _to GetLevel(aLevel); } \
  NS_SCRIPTABLE NS_IMETHOD SetLevel(PRInt32 aLevel) { return _to SetLevel(aLevel); } \
  NS_SCRIPTABLE NS_IMETHOD GetMoveOnSpam(bool *aMoveOnSpam) { return _to GetMoveOnSpam(aMoveOnSpam); } \
  NS_SCRIPTABLE NS_IMETHOD SetMoveOnSpam(bool aMoveOnSpam) { return _to SetMoveOnSpam(aMoveOnSpam); } \
  NS_SCRIPTABLE NS_IMETHOD GetMarkAsReadOnSpam(bool *aMarkAsReadOnSpam) { return _to GetMarkAsReadOnSpam(aMarkAsReadOnSpam); } \
  NS_SCRIPTABLE NS_IMETHOD GetMoveTargetMode(PRInt32 *aMoveTargetMode) { return _to GetMoveTargetMode(aMoveTargetMode); } \
  NS_SCRIPTABLE NS_IMETHOD SetMoveTargetMode(PRInt32 aMoveTargetMode) { return _to SetMoveTargetMode(aMoveTargetMode); } \
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetAccount(char * *aActionTargetAccount) { return _to GetActionTargetAccount(aActionTargetAccount); } \
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetAccount(const char * aActionTargetAccount) { return _to SetActionTargetAccount(aActionTargetAccount); } \
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetFolder(char * *aActionTargetFolder) { return _to GetActionTargetFolder(aActionTargetFolder); } \
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetFolder(const char * aActionTargetFolder) { return _to SetActionTargetFolder(aActionTargetFolder); } \
  NS_SCRIPTABLE NS_IMETHOD GetSpamFolderURI(char * *aSpamFolderURI) { return _to GetSpamFolderURI(aSpamFolderURI); } \
  NS_SCRIPTABLE NS_IMETHOD GetPurge(bool *aPurge) { return _to GetPurge(aPurge); } \
  NS_SCRIPTABLE NS_IMETHOD SetPurge(bool aPurge) { return _to SetPurge(aPurge); } \
  NS_SCRIPTABLE NS_IMETHOD GetPurgeInterval(PRInt32 *aPurgeInterval) { return _to GetPurgeInterval(aPurgeInterval); } \
  NS_SCRIPTABLE NS_IMETHOD SetPurgeInterval(PRInt32 aPurgeInterval) { return _to SetPurgeInterval(aPurgeInterval); } \
  NS_SCRIPTABLE NS_IMETHOD GetUseWhiteList(bool *aUseWhiteList) { return _to GetUseWhiteList(aUseWhiteList); } \
  NS_SCRIPTABLE NS_IMETHOD SetUseWhiteList(bool aUseWhiteList) { return _to SetUseWhiteList(aUseWhiteList); } \
  NS_SCRIPTABLE NS_IMETHOD GetWhiteListAbURI(char * *aWhiteListAbURI) { return _to GetWhiteListAbURI(aWhiteListAbURI); } \
  NS_SCRIPTABLE NS_IMETHOD SetWhiteListAbURI(const char * aWhiteListAbURI) { return _to SetWhiteListAbURI(aWhiteListAbURI); } \
  NS_SCRIPTABLE NS_IMETHOD GetManualMark(bool *aManualMark) { return _to GetManualMark(aManualMark); } \
  NS_SCRIPTABLE NS_IMETHOD GetManualMarkMode(PRInt32 *aManualMarkMode) { return _to GetManualMarkMode(aManualMarkMode); } \
  NS_SCRIPTABLE NS_IMETHOD GetUseServerFilter(bool *aUseServerFilter) { return _to GetUseServerFilter(aUseServerFilter); } \
  NS_SCRIPTABLE NS_IMETHOD SetUseServerFilter(bool aUseServerFilter) { return _to SetUseServerFilter(aUseServerFilter); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterName(nsACString & aServerFilterName) { return _to GetServerFilterName(aServerFilterName); } \
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterName(const nsACString & aServerFilterName) { return _to SetServerFilterName(aServerFilterName); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterFile(nsIFile * *aServerFilterFile) { return _to GetServerFilterFile(aServerFilterFile); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterTrustFlags(PRInt32 *aServerFilterTrustFlags) { return _to GetServerFilterTrustFlags(aServerFilterTrustFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterTrustFlags(PRInt32 aServerFilterTrustFlags) { return _to SetServerFilterTrustFlags(aServerFilterTrustFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetLoggingEnabled(bool *aLoggingEnabled) { return _to GetLoggingEnabled(aLoggingEnabled); } \
  NS_SCRIPTABLE NS_IMETHOD GetLogStream(nsIOutputStream * *aLogStream) { return _to GetLogStream(aLogStream); } \
  NS_SCRIPTABLE NS_IMETHOD SetLogStream(nsIOutputStream *aLogStream) { return _to SetLogStream(aLogStream); } \
  NS_SCRIPTABLE NS_IMETHOD LogJunkHit(nsIMsgDBHdr *aMsgHdr, bool aMoveMessage) { return _to LogJunkHit(aMsgHdr, aMoveMessage); } \
  NS_SCRIPTABLE NS_IMETHOD LogJunkString(const char * aLogText) { return _to LogJunkString(aLogText); } \
  NS_SCRIPTABLE NS_IMETHOD Clone(nsISpamSettings *aSpamSettings) { return _to Clone(aSpamSettings); } \
  NS_SCRIPTABLE NS_IMETHOD Initialize(nsIMsgIncomingServer *aServer) { return _to Initialize(aServer); } \
  NS_SCRIPTABLE NS_IMETHOD CheckWhiteList(nsIMsgDBHdr *aMsgHdr, bool *_retval NS_OUTPARAM) { return _to CheckWhiteList(aMsgHdr, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISPAMSETTINGS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetLevel(PRInt32 *aLevel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLevel(aLevel); } \
  NS_SCRIPTABLE NS_IMETHOD SetLevel(PRInt32 aLevel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLevel(aLevel); } \
  NS_SCRIPTABLE NS_IMETHOD GetMoveOnSpam(bool *aMoveOnSpam) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMoveOnSpam(aMoveOnSpam); } \
  NS_SCRIPTABLE NS_IMETHOD SetMoveOnSpam(bool aMoveOnSpam) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMoveOnSpam(aMoveOnSpam); } \
  NS_SCRIPTABLE NS_IMETHOD GetMarkAsReadOnSpam(bool *aMarkAsReadOnSpam) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarkAsReadOnSpam(aMarkAsReadOnSpam); } \
  NS_SCRIPTABLE NS_IMETHOD GetMoveTargetMode(PRInt32 *aMoveTargetMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMoveTargetMode(aMoveTargetMode); } \
  NS_SCRIPTABLE NS_IMETHOD SetMoveTargetMode(PRInt32 aMoveTargetMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMoveTargetMode(aMoveTargetMode); } \
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetAccount(char * *aActionTargetAccount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActionTargetAccount(aActionTargetAccount); } \
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetAccount(const char * aActionTargetAccount) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetActionTargetAccount(aActionTargetAccount); } \
  NS_SCRIPTABLE NS_IMETHOD GetActionTargetFolder(char * *aActionTargetFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActionTargetFolder(aActionTargetFolder); } \
  NS_SCRIPTABLE NS_IMETHOD SetActionTargetFolder(const char * aActionTargetFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetActionTargetFolder(aActionTargetFolder); } \
  NS_SCRIPTABLE NS_IMETHOD GetSpamFolderURI(char * *aSpamFolderURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpamFolderURI(aSpamFolderURI); } \
  NS_SCRIPTABLE NS_IMETHOD GetPurge(bool *aPurge) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPurge(aPurge); } \
  NS_SCRIPTABLE NS_IMETHOD SetPurge(bool aPurge) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPurge(aPurge); } \
  NS_SCRIPTABLE NS_IMETHOD GetPurgeInterval(PRInt32 *aPurgeInterval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPurgeInterval(aPurgeInterval); } \
  NS_SCRIPTABLE NS_IMETHOD SetPurgeInterval(PRInt32 aPurgeInterval) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPurgeInterval(aPurgeInterval); } \
  NS_SCRIPTABLE NS_IMETHOD GetUseWhiteList(bool *aUseWhiteList) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUseWhiteList(aUseWhiteList); } \
  NS_SCRIPTABLE NS_IMETHOD SetUseWhiteList(bool aUseWhiteList) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUseWhiteList(aUseWhiteList); } \
  NS_SCRIPTABLE NS_IMETHOD GetWhiteListAbURI(char * *aWhiteListAbURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWhiteListAbURI(aWhiteListAbURI); } \
  NS_SCRIPTABLE NS_IMETHOD SetWhiteListAbURI(const char * aWhiteListAbURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWhiteListAbURI(aWhiteListAbURI); } \
  NS_SCRIPTABLE NS_IMETHOD GetManualMark(bool *aManualMark) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetManualMark(aManualMark); } \
  NS_SCRIPTABLE NS_IMETHOD GetManualMarkMode(PRInt32 *aManualMarkMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetManualMarkMode(aManualMarkMode); } \
  NS_SCRIPTABLE NS_IMETHOD GetUseServerFilter(bool *aUseServerFilter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUseServerFilter(aUseServerFilter); } \
  NS_SCRIPTABLE NS_IMETHOD SetUseServerFilter(bool aUseServerFilter) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUseServerFilter(aUseServerFilter); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterName(nsACString & aServerFilterName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerFilterName(aServerFilterName); } \
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterName(const nsACString & aServerFilterName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetServerFilterName(aServerFilterName); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterFile(nsIFile * *aServerFilterFile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerFilterFile(aServerFilterFile); } \
  NS_SCRIPTABLE NS_IMETHOD GetServerFilterTrustFlags(PRInt32 *aServerFilterTrustFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerFilterTrustFlags(aServerFilterTrustFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetServerFilterTrustFlags(PRInt32 aServerFilterTrustFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetServerFilterTrustFlags(aServerFilterTrustFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetLoggingEnabled(bool *aLoggingEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoggingEnabled(aLoggingEnabled); } \
  NS_SCRIPTABLE NS_IMETHOD GetLogStream(nsIOutputStream * *aLogStream) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogStream(aLogStream); } \
  NS_SCRIPTABLE NS_IMETHOD SetLogStream(nsIOutputStream *aLogStream) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLogStream(aLogStream); } \
  NS_SCRIPTABLE NS_IMETHOD LogJunkHit(nsIMsgDBHdr *aMsgHdr, bool aMoveMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogJunkHit(aMsgHdr, aMoveMessage); } \
  NS_SCRIPTABLE NS_IMETHOD LogJunkString(const char * aLogText) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogJunkString(aLogText); } \
  NS_SCRIPTABLE NS_IMETHOD Clone(nsISpamSettings *aSpamSettings) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(aSpamSettings); } \
  NS_SCRIPTABLE NS_IMETHOD Initialize(nsIMsgIncomingServer *aServer) { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(aServer); } \
  NS_SCRIPTABLE NS_IMETHOD CheckWhiteList(nsIMsgDBHdr *aMsgHdr, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckWhiteList(aMsgHdr, _retval); } 

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

/* Header file */
class nsSpamSettings : public nsISpamSettings
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISPAMSETTINGS

  nsSpamSettings();

private:
  ~nsSpamSettings();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsSpamSettings, nsISpamSettings)

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

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

/* attribute long level; */
NS_IMETHODIMP nsSpamSettings::GetLevel(PRInt32 *aLevel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetLevel(PRInt32 aLevel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean moveOnSpam; */
NS_IMETHODIMP nsSpamSettings::GetMoveOnSpam(bool *aMoveOnSpam)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetMoveOnSpam(bool aMoveOnSpam)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean markAsReadOnSpam; */
NS_IMETHODIMP nsSpamSettings::GetMarkAsReadOnSpam(bool *aMarkAsReadOnSpam)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long moveTargetMode; */
NS_IMETHODIMP nsSpamSettings::GetMoveTargetMode(PRInt32 *aMoveTargetMode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetMoveTargetMode(PRInt32 aMoveTargetMode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute string actionTargetAccount; */
NS_IMETHODIMP nsSpamSettings::GetActionTargetAccount(char * *aActionTargetAccount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetActionTargetAccount(const char * aActionTargetAccount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute string actionTargetFolder; */
NS_IMETHODIMP nsSpamSettings::GetActionTargetFolder(char * *aActionTargetFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetActionTargetFolder(const char * aActionTargetFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string spamFolderURI; */
NS_IMETHODIMP nsSpamSettings::GetSpamFolderURI(char * *aSpamFolderURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean purge; */
NS_IMETHODIMP nsSpamSettings::GetPurge(bool *aPurge)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetPurge(bool aPurge)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long purgeInterval; */
NS_IMETHODIMP nsSpamSettings::GetPurgeInterval(PRInt32 *aPurgeInterval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetPurgeInterval(PRInt32 aPurgeInterval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean useWhiteList; */
NS_IMETHODIMP nsSpamSettings::GetUseWhiteList(bool *aUseWhiteList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetUseWhiteList(bool aUseWhiteList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute string whiteListAbURI; */
NS_IMETHODIMP nsSpamSettings::GetWhiteListAbURI(char * *aWhiteListAbURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetWhiteListAbURI(const char * aWhiteListAbURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean manualMark; */
NS_IMETHODIMP nsSpamSettings::GetManualMark(bool *aManualMark)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long manualMarkMode; */
NS_IMETHODIMP nsSpamSettings::GetManualMarkMode(PRInt32 *aManualMarkMode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean useServerFilter; */
NS_IMETHODIMP nsSpamSettings::GetUseServerFilter(bool *aUseServerFilter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetUseServerFilter(bool aUseServerFilter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString serverFilterName; */
NS_IMETHODIMP nsSpamSettings::GetServerFilterName(nsACString & aServerFilterName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetServerFilterName(const nsACString & aServerFilterName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIFile serverFilterFile; */
NS_IMETHODIMP nsSpamSettings::GetServerFilterFile(nsIFile * *aServerFilterFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long serverFilterTrustFlags; */
NS_IMETHODIMP nsSpamSettings::GetServerFilterTrustFlags(PRInt32 *aServerFilterTrustFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetServerFilterTrustFlags(PRInt32 aServerFilterTrustFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean loggingEnabled; */
NS_IMETHODIMP nsSpamSettings::GetLoggingEnabled(bool *aLoggingEnabled)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIOutputStream logStream; */
NS_IMETHODIMP nsSpamSettings::GetLogStream(nsIOutputStream * *aLogStream)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSpamSettings::SetLogStream(nsIOutputStream *aLogStream)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void logJunkHit (in nsIMsgDBHdr aMsgHdr, in boolean aMoveMessage); */
NS_IMETHODIMP nsSpamSettings::LogJunkHit(nsIMsgDBHdr *aMsgHdr, bool aMoveMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void logJunkString (in string aLogText); */
NS_IMETHODIMP nsSpamSettings::LogJunkString(const char * aLogText)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void clone (in nsISpamSettings aSpamSettings); */
NS_IMETHODIMP nsSpamSettings::Clone(nsISpamSettings *aSpamSettings)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void initialize (in nsIMsgIncomingServer aServer); */
NS_IMETHODIMP nsSpamSettings::Initialize(nsIMsgIncomingServer *aServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean checkWhiteList (in nsIMsgDBHdr aMsgHdr); */
NS_IMETHODIMP nsSpamSettings::CheckWhiteList(nsIMsgDBHdr *aMsgHdr, bool *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsISpamSettings_h__ */