This file is indexed.

/usr/include/thunderbird/nsISmtpUrl.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.

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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISmtpUrl.idl
 */

#ifndef __gen_nsISmtpUrl_h__
#define __gen_nsISmtpUrl_h__


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

#ifndef __gen_nsIMsgComposeParams_h__
#include "nsIMsgComposeParams.h"
#endif

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

class nsIPrompt; /* forward declaration */

class nsIAuthPrompt; /* forward declaration */

class nsISmtpServer; /* forward declaration */

class nsIInterfaceRequestor; /* forward declaration */

class nsIFile; /* forward declaration */


/* starting interface:    nsISmtpUrl */
#define NS_ISMTPURL_IID_STR "da22b8ac-059d-4f82-bf99-f5f3d3c8202d"

#define NS_ISMTPURL_IID \
  {0xda22b8ac, 0x059d, 0x4f82, \
    { 0xbf, 0x99, 0xf5, 0xf3, 0xd3, 0xc8, 0x20, 0x2d }}

class NS_NO_VTABLE nsISmtpUrl : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISMTPURL_IID)

  /* attribute string recipients; */
  NS_IMETHOD GetRecipients(char * *aRecipients) = 0;
  NS_IMETHOD SetRecipients(const char * aRecipients) = 0;

  /* attribute boolean PostMessage; */
  NS_IMETHOD GetPostMessage(bool *aPostMessage) = 0;
  NS_IMETHOD SetPostMessage(bool aPostMessage) = 0;

  /* attribute nsIFile postMessageFile; */
  NS_IMETHOD GetPostMessageFile(nsIFile * *aPostMessageFile) = 0;
  NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) = 0;

  /* attribute boolean requestDSN; */
  NS_IMETHOD GetRequestDSN(bool *aRequestDSN) = 0;
  NS_IMETHOD SetRequestDSN(bool aRequestDSN) = 0;

  /* attribute ACString dsnEnvid; */
  NS_IMETHOD GetDsnEnvid(nsACString & aDsnEnvid) = 0;
  NS_IMETHOD SetDsnEnvid(const nsACString & aDsnEnvid) = 0;

  /* attribute nsIMsgIdentity senderIdentity; */
  NS_IMETHOD GetSenderIdentity(nsIMsgIdentity * *aSenderIdentity) = 0;
  NS_IMETHOD SetSenderIdentity(nsIMsgIdentity *aSenderIdentity) = 0;

  /* attribute nsIPrompt prompt; */
  NS_IMETHOD GetPrompt(nsIPrompt * *aPrompt) = 0;
  NS_IMETHOD SetPrompt(nsIPrompt *aPrompt) = 0;

  /* attribute nsIAuthPrompt authPrompt; */
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) = 0;
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *aAuthPrompt) = 0;

  /* attribute nsIInterfaceRequestor notificationCallbacks; */
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) = 0;
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) = 0;

  /* attribute nsISmtpServer smtpServer; */
  NS_IMETHOD GetSmtpServer(nsISmtpServer * *aSmtpServer) = 0;
  NS_IMETHOD SetSmtpServer(nsISmtpServer *aSmtpServer) = 0;

  /* attribute boolean verifyLogon; */
  NS_IMETHOD GetVerifyLogon(bool *aVerifyLogon) = 0;
  NS_IMETHOD SetVerifyLogon(bool aVerifyLogon) = 0;

  enum {
    DEFAULT_SMTP_PORT = 25,
    DEFAULT_SMTPS_PORT = 465
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISmtpUrl, NS_ISMTPURL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISMTPURL \
  NS_IMETHOD GetRecipients(char * *aRecipients) override; \
  NS_IMETHOD SetRecipients(const char * aRecipients) override; \
  NS_IMETHOD GetPostMessage(bool *aPostMessage) override; \
  NS_IMETHOD SetPostMessage(bool aPostMessage) override; \
  NS_IMETHOD GetPostMessageFile(nsIFile * *aPostMessageFile) override; \
  NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) override; \
  NS_IMETHOD GetRequestDSN(bool *aRequestDSN) override; \
  NS_IMETHOD SetRequestDSN(bool aRequestDSN) override; \
  NS_IMETHOD GetDsnEnvid(nsACString & aDsnEnvid) override; \
  NS_IMETHOD SetDsnEnvid(const nsACString & aDsnEnvid) override; \
  NS_IMETHOD GetSenderIdentity(nsIMsgIdentity * *aSenderIdentity) override; \
  NS_IMETHOD SetSenderIdentity(nsIMsgIdentity *aSenderIdentity) override; \
  NS_IMETHOD GetPrompt(nsIPrompt * *aPrompt) override; \
  NS_IMETHOD SetPrompt(nsIPrompt *aPrompt) override; \
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override; \
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *aAuthPrompt) override; \
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override; \
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override; \
  NS_IMETHOD GetSmtpServer(nsISmtpServer * *aSmtpServer) override; \
  NS_IMETHOD SetSmtpServer(nsISmtpServer *aSmtpServer) override; \
  NS_IMETHOD GetVerifyLogon(bool *aVerifyLogon) override; \
  NS_IMETHOD SetVerifyLogon(bool aVerifyLogon) override; \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISMTPURL(_to) \
  NS_IMETHOD GetRecipients(char * *aRecipients) override { return _to GetRecipients(aRecipients); } \
  NS_IMETHOD SetRecipients(const char * aRecipients) override { return _to SetRecipients(aRecipients); } \
  NS_IMETHOD GetPostMessage(bool *aPostMessage) override { return _to GetPostMessage(aPostMessage); } \
  NS_IMETHOD SetPostMessage(bool aPostMessage) override { return _to SetPostMessage(aPostMessage); } \
  NS_IMETHOD GetPostMessageFile(nsIFile * *aPostMessageFile) override { return _to GetPostMessageFile(aPostMessageFile); } \
  NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) override { return _to SetPostMessageFile(aPostMessageFile); } \
  NS_IMETHOD GetRequestDSN(bool *aRequestDSN) override { return _to GetRequestDSN(aRequestDSN); } \
  NS_IMETHOD SetRequestDSN(bool aRequestDSN) override { return _to SetRequestDSN(aRequestDSN); } \
  NS_IMETHOD GetDsnEnvid(nsACString & aDsnEnvid) override { return _to GetDsnEnvid(aDsnEnvid); } \
  NS_IMETHOD SetDsnEnvid(const nsACString & aDsnEnvid) override { return _to SetDsnEnvid(aDsnEnvid); } \
  NS_IMETHOD GetSenderIdentity(nsIMsgIdentity * *aSenderIdentity) override { return _to GetSenderIdentity(aSenderIdentity); } \
  NS_IMETHOD SetSenderIdentity(nsIMsgIdentity *aSenderIdentity) override { return _to SetSenderIdentity(aSenderIdentity); } \
  NS_IMETHOD GetPrompt(nsIPrompt * *aPrompt) override { return _to GetPrompt(aPrompt); } \
  NS_IMETHOD SetPrompt(nsIPrompt *aPrompt) override { return _to SetPrompt(aPrompt); } \
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override { return _to GetAuthPrompt(aAuthPrompt); } \
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *aAuthPrompt) override { return _to SetAuthPrompt(aAuthPrompt); } \
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override { return _to GetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return _to SetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD GetSmtpServer(nsISmtpServer * *aSmtpServer) override { return _to GetSmtpServer(aSmtpServer); } \
  NS_IMETHOD SetSmtpServer(nsISmtpServer *aSmtpServer) override { return _to SetSmtpServer(aSmtpServer); } \
  NS_IMETHOD GetVerifyLogon(bool *aVerifyLogon) override { return _to GetVerifyLogon(aVerifyLogon); } \
  NS_IMETHOD SetVerifyLogon(bool aVerifyLogon) override { return _to SetVerifyLogon(aVerifyLogon); } \

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISMTPURL(_to) \
  NS_IMETHOD GetRecipients(char * *aRecipients) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecipients(aRecipients); } \
  NS_IMETHOD SetRecipients(const char * aRecipients) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRecipients(aRecipients); } \
  NS_IMETHOD GetPostMessage(bool *aPostMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostMessage(aPostMessage); } \
  NS_IMETHOD SetPostMessage(bool aPostMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostMessage(aPostMessage); } \
  NS_IMETHOD GetPostMessageFile(nsIFile * *aPostMessageFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostMessageFile(aPostMessageFile); } \
  NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostMessageFile(aPostMessageFile); } \
  NS_IMETHOD GetRequestDSN(bool *aRequestDSN) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestDSN(aRequestDSN); } \
  NS_IMETHOD SetRequestDSN(bool aRequestDSN) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRequestDSN(aRequestDSN); } \
  NS_IMETHOD GetDsnEnvid(nsACString & aDsnEnvid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDsnEnvid(aDsnEnvid); } \
  NS_IMETHOD SetDsnEnvid(const nsACString & aDsnEnvid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDsnEnvid(aDsnEnvid); } \
  NS_IMETHOD GetSenderIdentity(nsIMsgIdentity * *aSenderIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSenderIdentity(aSenderIdentity); } \
  NS_IMETHOD SetSenderIdentity(nsIMsgIdentity *aSenderIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSenderIdentity(aSenderIdentity); } \
  NS_IMETHOD GetPrompt(nsIPrompt * *aPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrompt(aPrompt); } \
  NS_IMETHOD SetPrompt(nsIPrompt *aPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrompt(aPrompt); } \
  NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthPrompt(aAuthPrompt); } \
  NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *aAuthPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAuthPrompt(aAuthPrompt); } \
  NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotificationCallbacks(aNotificationCallbacks); } \
  NS_IMETHOD GetSmtpServer(nsISmtpServer * *aSmtpServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSmtpServer(aSmtpServer); } \
  NS_IMETHOD SetSmtpServer(nsISmtpServer *aSmtpServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSmtpServer(aSmtpServer); } \
  NS_IMETHOD GetVerifyLogon(bool *aVerifyLogon) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVerifyLogon(aVerifyLogon); } \
  NS_IMETHOD SetVerifyLogon(bool aVerifyLogon) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVerifyLogon(aVerifyLogon); } \

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

/* Header file */
class nsSmtpUrl : public nsISmtpUrl
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISMTPURL

  nsSmtpUrl();

private:
  ~nsSmtpUrl();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsSmtpUrl, nsISmtpUrl)

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

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

/* attribute string recipients; */
NS_IMETHODIMP nsSmtpUrl::GetRecipients(char * *aRecipients)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetRecipients(const char * aRecipients)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean PostMessage; */
NS_IMETHODIMP nsSmtpUrl::GetPostMessage(bool *aPostMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetPostMessage(bool aPostMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIFile postMessageFile; */
NS_IMETHODIMP nsSmtpUrl::GetPostMessageFile(nsIFile * *aPostMessageFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetPostMessageFile(nsIFile *aPostMessageFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean requestDSN; */
NS_IMETHODIMP nsSmtpUrl::GetRequestDSN(bool *aRequestDSN)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetRequestDSN(bool aRequestDSN)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString dsnEnvid; */
NS_IMETHODIMP nsSmtpUrl::GetDsnEnvid(nsACString & aDsnEnvid)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetDsnEnvid(const nsACString & aDsnEnvid)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIMsgIdentity senderIdentity; */
NS_IMETHODIMP nsSmtpUrl::GetSenderIdentity(nsIMsgIdentity * *aSenderIdentity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetSenderIdentity(nsIMsgIdentity *aSenderIdentity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIPrompt prompt; */
NS_IMETHODIMP nsSmtpUrl::GetPrompt(nsIPrompt * *aPrompt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetPrompt(nsIPrompt *aPrompt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIAuthPrompt authPrompt; */
NS_IMETHODIMP nsSmtpUrl::GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetAuthPrompt(nsIAuthPrompt *aAuthPrompt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_IMETHODIMP nsSmtpUrl::GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISmtpServer smtpServer; */
NS_IMETHODIMP nsSmtpUrl::GetSmtpServer(nsISmtpServer * *aSmtpServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetSmtpServer(nsISmtpServer *aSmtpServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean verifyLogon; */
NS_IMETHODIMP nsSmtpUrl::GetVerifyLogon(bool *aVerifyLogon)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSmtpUrl::SetVerifyLogon(bool aVerifyLogon)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIMailtoUrl */
#define NS_IMAILTOURL_IID_STR "87c36c23-4bc2-4992-b338-69f88f6ed0a1"

#define NS_IMAILTOURL_IID \
  {0x87c36c23, 0x4bc2, 0x4992, \
    { 0xb3, 0x38, 0x69, 0xf8, 0x8f, 0x6e, 0xd0, 0xa1 }}

class NS_NO_VTABLE nsIMailtoUrl : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAILTOURL_IID)

  /* void getMessageContents (out AUTF8String aToPart, out AUTF8String aCcPart, out AUTF8String aBccPart, out AUTF8String aSubjectPart, out AUTF8String aBodyPart, out AUTF8String aHtmlPart, out ACString aReferencePart, out AUTF8String aNewsgroupPart, out MSG_ComposeFormat aFormat); */
  NS_IMETHOD GetMessageContents(nsACString & aToPart, nsACString & aCcPart, nsACString & aBccPart, nsACString & aSubjectPart, nsACString & aBodyPart, nsACString & aHtmlPart, nsACString & aReferencePart, nsACString & aNewsgroupPart, MSG_ComposeFormat *aFormat) = 0;

  /* readonly attribute AUTF8String fromPart; */
  NS_IMETHOD GetFromPart(nsACString & aFromPart) = 0;

  /* readonly attribute AUTF8String followUpToPart; */
  NS_IMETHOD GetFollowUpToPart(nsACString & aFollowUpToPart) = 0;

  /* readonly attribute AUTF8String organizationPart; */
  NS_IMETHOD GetOrganizationPart(nsACString & aOrganizationPart) = 0;

  /* readonly attribute AUTF8String replyToPart; */
  NS_IMETHOD GetReplyToPart(nsACString & aReplyToPart) = 0;

  /* readonly attribute AUTF8String priorityPart; */
  NS_IMETHOD GetPriorityPart(nsACString & aPriorityPart) = 0;

  /* readonly attribute AUTF8String newsHostPart; */
  NS_IMETHOD GetNewsHostPart(nsACString & aNewsHostPart) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMailtoUrl, NS_IMAILTOURL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMAILTOURL \
  NS_IMETHOD GetMessageContents(nsACString & aToPart, nsACString & aCcPart, nsACString & aBccPart, nsACString & aSubjectPart, nsACString & aBodyPart, nsACString & aHtmlPart, nsACString & aReferencePart, nsACString & aNewsgroupPart, MSG_ComposeFormat *aFormat) override; \
  NS_IMETHOD GetFromPart(nsACString & aFromPart) override; \
  NS_IMETHOD GetFollowUpToPart(nsACString & aFollowUpToPart) override; \
  NS_IMETHOD GetOrganizationPart(nsACString & aOrganizationPart) override; \
  NS_IMETHOD GetReplyToPart(nsACString & aReplyToPart) override; \
  NS_IMETHOD GetPriorityPart(nsACString & aPriorityPart) override; \
  NS_IMETHOD GetNewsHostPart(nsACString & aNewsHostPart) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMAILTOURL(_to) \
  NS_IMETHOD GetMessageContents(nsACString & aToPart, nsACString & aCcPart, nsACString & aBccPart, nsACString & aSubjectPart, nsACString & aBodyPart, nsACString & aHtmlPart, nsACString & aReferencePart, nsACString & aNewsgroupPart, MSG_ComposeFormat *aFormat) override { return _to GetMessageContents(aToPart, aCcPart, aBccPart, aSubjectPart, aBodyPart, aHtmlPart, aReferencePart, aNewsgroupPart, aFormat); } \
  NS_IMETHOD GetFromPart(nsACString & aFromPart) override { return _to GetFromPart(aFromPart); } \
  NS_IMETHOD GetFollowUpToPart(nsACString & aFollowUpToPart) override { return _to GetFollowUpToPart(aFollowUpToPart); } \
  NS_IMETHOD GetOrganizationPart(nsACString & aOrganizationPart) override { return _to GetOrganizationPart(aOrganizationPart); } \
  NS_IMETHOD GetReplyToPart(nsACString & aReplyToPart) override { return _to GetReplyToPart(aReplyToPart); } \
  NS_IMETHOD GetPriorityPart(nsACString & aPriorityPart) override { return _to GetPriorityPart(aPriorityPart); } \
  NS_IMETHOD GetNewsHostPart(nsACString & aNewsHostPart) override { return _to GetNewsHostPart(aNewsHostPart); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMAILTOURL(_to) \
  NS_IMETHOD GetMessageContents(nsACString & aToPart, nsACString & aCcPart, nsACString & aBccPart, nsACString & aSubjectPart, nsACString & aBodyPart, nsACString & aHtmlPart, nsACString & aReferencePart, nsACString & aNewsgroupPart, MSG_ComposeFormat *aFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageContents(aToPart, aCcPart, aBccPart, aSubjectPart, aBodyPart, aHtmlPart, aReferencePart, aNewsgroupPart, aFormat); } \
  NS_IMETHOD GetFromPart(nsACString & aFromPart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFromPart(aFromPart); } \
  NS_IMETHOD GetFollowUpToPart(nsACString & aFollowUpToPart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFollowUpToPart(aFollowUpToPart); } \
  NS_IMETHOD GetOrganizationPart(nsACString & aOrganizationPart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrganizationPart(aOrganizationPart); } \
  NS_IMETHOD GetReplyToPart(nsACString & aReplyToPart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplyToPart(aReplyToPart); } \
  NS_IMETHOD GetPriorityPart(nsACString & aPriorityPart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPriorityPart(aPriorityPart); } \
  NS_IMETHOD GetNewsHostPart(nsACString & aNewsHostPart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsHostPart(aNewsHostPart); } 

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

/* Header file */
class nsMailtoUrl : public nsIMailtoUrl
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMAILTOURL

  nsMailtoUrl();

private:
  ~nsMailtoUrl();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMailtoUrl, nsIMailtoUrl)

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

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

/* void getMessageContents (out AUTF8String aToPart, out AUTF8String aCcPart, out AUTF8String aBccPart, out AUTF8String aSubjectPart, out AUTF8String aBodyPart, out AUTF8String aHtmlPart, out ACString aReferencePart, out AUTF8String aNewsgroupPart, out MSG_ComposeFormat aFormat); */
NS_IMETHODIMP nsMailtoUrl::GetMessageContents(nsACString & aToPart, nsACString & aCcPart, nsACString & aBccPart, nsACString & aSubjectPart, nsACString & aBodyPart, nsACString & aHtmlPart, nsACString & aReferencePart, nsACString & aNewsgroupPart, MSG_ComposeFormat *aFormat)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AUTF8String fromPart; */
NS_IMETHODIMP nsMailtoUrl::GetFromPart(nsACString & aFromPart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AUTF8String followUpToPart; */
NS_IMETHODIMP nsMailtoUrl::GetFollowUpToPart(nsACString & aFollowUpToPart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AUTF8String organizationPart; */
NS_IMETHODIMP nsMailtoUrl::GetOrganizationPart(nsACString & aOrganizationPart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AUTF8String replyToPart; */
NS_IMETHODIMP nsMailtoUrl::GetReplyToPart(nsACString & aReplyToPart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AUTF8String priorityPart; */
NS_IMETHODIMP nsMailtoUrl::GetPriorityPart(nsACString & aPriorityPart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AUTF8String newsHostPart; */
NS_IMETHODIMP nsMailtoUrl::GetNewsHostPart(nsACString & aNewsHostPart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsISmtpUrl_h__ */