/usr/include/thunderbird/nsIMsgWindow.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMsgWindow.idl
*/
#ifndef __gen_nsIMsgWindow_h__
#define __gen_nsIMsgWindow_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 nsIMsgStatusFeedback; /* forward declaration */
class nsIMsgFolder; /* forward declaration */
class nsITransactionManager; /* forward declaration */
class nsIDocShell; /* forward declaration */
class mozIDOMWindowProxy; /* forward declaration */
class nsIMsgHeaderSink; /* forward declaration */
class nsIPrompt; /* forward declaration */
class nsIInterfaceRequestor; /* forward declaration */
class nsIAuthPrompt; /* forward declaration */
/* starting interface: nsIMsgWindowCommands */
#define NS_IMSGWINDOWCOMMANDS_IID_STR "7b8f4a65-cfc4-4b3f-bf5c-152aa8d5cd10"
#define NS_IMSGWINDOWCOMMANDS_IID \
{0x7b8f4a65, 0xcfc4, 0x4b3f, \
{ 0xbf, 0x5c, 0x15, 0x2a, 0xa8, 0xd5, 0xcd, 0x10 }}
class NS_NO_VTABLE nsIMsgWindowCommands : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOWCOMMANDS_IID)
/* void selectFolder (in ACString folderUri); */
NS_IMETHOD SelectFolder(const nsACString & folderUri) = 0;
/* void selectMessage (in ACString messageUri); */
NS_IMETHOD SelectMessage(const nsACString & messageUri) = 0;
/* void clearMsgPane (); */
NS_IMETHOD ClearMsgPane(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgWindowCommands, NS_IMSGWINDOWCOMMANDS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGWINDOWCOMMANDS \
NS_IMETHOD SelectFolder(const nsACString & folderUri) override; \
NS_IMETHOD SelectMessage(const nsACString & messageUri) override; \
NS_IMETHOD ClearMsgPane(void) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGWINDOWCOMMANDS \
NS_METHOD SelectFolder(const nsACString & folderUri); \
NS_METHOD SelectMessage(const nsACString & messageUri); \
NS_METHOD ClearMsgPane(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOWCOMMANDS(_to) \
NS_IMETHOD SelectFolder(const nsACString & folderUri) override { return _to SelectFolder(folderUri); } \
NS_IMETHOD SelectMessage(const nsACString & messageUri) override { return _to SelectMessage(messageUri); } \
NS_IMETHOD ClearMsgPane(void) override { return _to ClearMsgPane(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGWINDOWCOMMANDS(_to) \
NS_IMETHOD SelectFolder(const nsACString & folderUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectFolder(folderUri); } \
NS_IMETHOD SelectMessage(const nsACString & messageUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectMessage(messageUri); } \
NS_IMETHOD ClearMsgPane(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearMsgPane(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgWindowCommands : public nsIMsgWindowCommands
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGWINDOWCOMMANDS
nsMsgWindowCommands();
private:
~nsMsgWindowCommands();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgWindowCommands, nsIMsgWindowCommands)
nsMsgWindowCommands::nsMsgWindowCommands()
{
/* member initializers and constructor code */
}
nsMsgWindowCommands::~nsMsgWindowCommands()
{
/* destructor code */
}
/* void selectFolder (in ACString folderUri); */
NS_IMETHODIMP nsMsgWindowCommands::SelectFolder(const nsACString & folderUri)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectMessage (in ACString messageUri); */
NS_IMETHODIMP nsMsgWindowCommands::SelectMessage(const nsACString & messageUri)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void clearMsgPane (); */
NS_IMETHODIMP nsMsgWindowCommands::ClearMsgPane()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIMsgWindow */
#define NS_IMSGWINDOW_IID_STR "a846fe48-4022-4296-a1c4-1dcd7eaecfe5"
#define NS_IMSGWINDOW_IID \
{0xa846fe48, 0x4022, 0x4296, \
{ 0xa1, 0xc4, 0x1d, 0xcd, 0x7e, 0xae, 0xcf, 0xe5 }}
class NS_NO_VTABLE nsIMsgWindow : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOW_IID)
/* attribute nsIMsgStatusFeedback statusFeedback; */
NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) = 0;
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) = 0;
/* attribute nsIMsgWindowCommands windowCommands; */
NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) = 0;
NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) = 0;
/* attribute nsIMsgHeaderSink msgHeaderSink; */
NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) = 0;
NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) = 0;
/* attribute nsITransactionManager transactionManager; */
NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) = 0;
NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) = 0;
/* attribute nsIMsgFolder openFolder; */
NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) = 0;
NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) = 0;
/* attribute nsIDocShell rootDocShell; */
NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) = 0;
NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) = 0;
/* readonly attribute nsIDocShell messageWindowDocShell; */
NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) = 0;
/* readonly attribute nsIAuthPrompt authPrompt; */
NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) = 0;
/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) = 0;
NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) = 0;
/* void displayHTMLInMessagePane (in AString title, in AString body, in boolean clearMsgHdr); */
NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) = 0;
/* readonly attribute nsIPrompt promptDialog; */
NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) = 0;
/* attribute ACString mailCharacterSet; */
NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) = 0;
NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) = 0;
/* attribute boolean charsetOverride; */
NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) = 0;
NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) = 0;
/* attribute boolean stopped; */
NS_IMETHOD GetStopped(bool *aStopped) = 0;
NS_IMETHOD SetStopped(bool aStopped) = 0;
/* attribute mozIDOMWindowProxy domWindow; */
NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) = 0;
NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) = 0;
/* void StopUrls (); */
NS_IMETHOD StopUrls(void) = 0;
/* void closeWindow (); */
NS_IMETHOD CloseWindow(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgWindow, NS_IMSGWINDOW_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGWINDOW \
NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) override; \
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override; \
NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) override; \
NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) override; \
NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) override; \
NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) override; \
NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) override; \
NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) override; \
NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) override; \
NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) override; \
NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) override; \
NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) override; \
NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) override; \
NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override; \
NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override; \
NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override; \
NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) override; \
NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) override; \
NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) override; \
NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) override; \
NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) override; \
NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) override; \
NS_IMETHOD GetStopped(bool *aStopped) override; \
NS_IMETHOD SetStopped(bool aStopped) override; \
NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) override; \
NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) override; \
NS_IMETHOD StopUrls(void) override; \
NS_IMETHOD CloseWindow(void) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGWINDOW \
NS_METHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback); \
NS_METHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback); \
NS_METHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands); \
NS_METHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands); \
NS_METHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink); \
NS_METHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink); \
NS_METHOD GetTransactionManager(nsITransactionManager * *aTransactionManager); \
NS_METHOD SetTransactionManager(nsITransactionManager *aTransactionManager); \
NS_METHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder); \
NS_METHOD SetOpenFolder(nsIMsgFolder *aOpenFolder); \
NS_METHOD GetRootDocShell(nsIDocShell * *aRootDocShell); \
NS_METHOD SetRootDocShell(nsIDocShell *aRootDocShell); \
NS_METHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell); \
NS_METHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt); \
NS_METHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks); \
NS_METHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks); \
NS_METHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr); \
NS_METHOD GetPromptDialog(nsIPrompt * *aPromptDialog); \
NS_METHOD GetMailCharacterSet(nsACString & aMailCharacterSet); \
NS_METHOD SetMailCharacterSet(const nsACString & aMailCharacterSet); \
NS_METHOD GetCharsetOverride(bool *aCharsetOverride); \
NS_METHOD SetCharsetOverride(bool aCharsetOverride); \
NS_METHOD GetStopped(bool *aStopped); \
NS_METHOD SetStopped(bool aStopped); \
NS_METHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow); \
NS_METHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow); \
NS_METHOD StopUrls(void); \
NS_METHOD CloseWindow(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOW(_to) \
NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) override { return _to GetStatusFeedback(aStatusFeedback); } \
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override { return _to SetStatusFeedback(aStatusFeedback); } \
NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) override { return _to GetWindowCommands(aWindowCommands); } \
NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) override { return _to SetWindowCommands(aWindowCommands); } \
NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) override { return _to GetMsgHeaderSink(aMsgHeaderSink); } \
NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) override { return _to SetMsgHeaderSink(aMsgHeaderSink); } \
NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) override { return _to GetTransactionManager(aTransactionManager); } \
NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) override { return _to SetTransactionManager(aTransactionManager); } \
NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) override { return _to GetOpenFolder(aOpenFolder); } \
NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) override { return _to SetOpenFolder(aOpenFolder); } \
NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) override { return _to GetRootDocShell(aRootDocShell); } \
NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) override { return _to SetRootDocShell(aRootDocShell); } \
NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) override { return _to GetMessageWindowDocShell(aMessageWindowDocShell); } \
NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override { return _to GetAuthPrompt(aAuthPrompt); } \
NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override { return _to GetNotificationCallbacks(aNotificationCallbacks); } \
NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return _to SetNotificationCallbacks(aNotificationCallbacks); } \
NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) override { return _to DisplayHTMLInMessagePane(title, body, clearMsgHdr); } \
NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) override { return _to GetPromptDialog(aPromptDialog); } \
NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) override { return _to GetMailCharacterSet(aMailCharacterSet); } \
NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) override { return _to SetMailCharacterSet(aMailCharacterSet); } \
NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) override { return _to GetCharsetOverride(aCharsetOverride); } \
NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) override { return _to SetCharsetOverride(aCharsetOverride); } \
NS_IMETHOD GetStopped(bool *aStopped) override { return _to GetStopped(aStopped); } \
NS_IMETHOD SetStopped(bool aStopped) override { return _to SetStopped(aStopped); } \
NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) override { return _to GetDomWindow(aDomWindow); } \
NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) override { return _to SetDomWindow(aDomWindow); } \
NS_IMETHOD StopUrls(void) override { return _to StopUrls(); } \
NS_IMETHOD CloseWindow(void) override { return _to CloseWindow(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGWINDOW(_to) \
NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusFeedback(aStatusFeedback); } \
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatusFeedback(aStatusFeedback); } \
NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindowCommands(aWindowCommands); } \
NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindowCommands(aWindowCommands); } \
NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgHeaderSink(aMsgHeaderSink); } \
NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMsgHeaderSink(aMsgHeaderSink); } \
NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransactionManager(aTransactionManager); } \
NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTransactionManager(aTransactionManager); } \
NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOpenFolder(aOpenFolder); } \
NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOpenFolder(aOpenFolder); } \
NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootDocShell(aRootDocShell); } \
NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRootDocShell(aRootDocShell); } \
NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageWindowDocShell(aMessageWindowDocShell); } \
NS_IMETHOD GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthPrompt(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 DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayHTMLInMessagePane(title, body, clearMsgHdr); } \
NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPromptDialog(aPromptDialog); } \
NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailCharacterSet(aMailCharacterSet); } \
NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailCharacterSet(aMailCharacterSet); } \
NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharsetOverride(aCharsetOverride); } \
NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharsetOverride(aCharsetOverride); } \
NS_IMETHOD GetStopped(bool *aStopped) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStopped(aStopped); } \
NS_IMETHOD SetStopped(bool aStopped) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStopped(aStopped); } \
NS_IMETHOD GetDomWindow(mozIDOMWindowProxy * *aDomWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomWindow(aDomWindow); } \
NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDomWindow(aDomWindow); } \
NS_IMETHOD StopUrls(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StopUrls(); } \
NS_IMETHOD CloseWindow(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseWindow(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgWindow : public nsIMsgWindow
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGWINDOW
nsMsgWindow();
private:
~nsMsgWindow();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgWindow, nsIMsgWindow)
nsMsgWindow::nsMsgWindow()
{
/* member initializers and constructor code */
}
nsMsgWindow::~nsMsgWindow()
{
/* destructor code */
}
/* attribute nsIMsgStatusFeedback statusFeedback; */
NS_IMETHODIMP nsMsgWindow::GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgWindowCommands windowCommands; */
NS_IMETHODIMP nsMsgWindow::GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetWindowCommands(nsIMsgWindowCommands *aWindowCommands)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgHeaderSink msgHeaderSink; */
NS_IMETHODIMP nsMsgWindow::GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsITransactionManager transactionManager; */
NS_IMETHODIMP nsMsgWindow::GetTransactionManager(nsITransactionManager * *aTransactionManager)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetTransactionManager(nsITransactionManager *aTransactionManager)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgFolder openFolder; */
NS_IMETHODIMP nsMsgWindow::GetOpenFolder(nsIMsgFolder * *aOpenFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetOpenFolder(nsIMsgFolder *aOpenFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIDocShell rootDocShell; */
NS_IMETHODIMP nsMsgWindow::GetRootDocShell(nsIDocShell * *aRootDocShell)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetRootDocShell(nsIDocShell *aRootDocShell)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDocShell messageWindowDocShell; */
NS_IMETHODIMP nsMsgWindow::GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIAuthPrompt authPrompt; */
NS_IMETHODIMP nsMsgWindow::GetAuthPrompt(nsIAuthPrompt * *aAuthPrompt)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_IMETHODIMP nsMsgWindow::GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void displayHTMLInMessagePane (in AString title, in AString body, in boolean clearMsgHdr); */
NS_IMETHODIMP nsMsgWindow::DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIPrompt promptDialog; */
NS_IMETHODIMP nsMsgWindow::GetPromptDialog(nsIPrompt * *aPromptDialog)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString mailCharacterSet; */
NS_IMETHODIMP nsMsgWindow::GetMailCharacterSet(nsACString & aMailCharacterSet)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetMailCharacterSet(const nsACString & aMailCharacterSet)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean charsetOverride; */
NS_IMETHODIMP nsMsgWindow::GetCharsetOverride(bool *aCharsetOverride)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetCharsetOverride(bool aCharsetOverride)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean stopped; */
NS_IMETHODIMP nsMsgWindow::GetStopped(bool *aStopped)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetStopped(bool aStopped)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute mozIDOMWindowProxy domWindow; */
NS_IMETHODIMP nsMsgWindow::GetDomWindow(mozIDOMWindowProxy * *aDomWindow)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetDomWindow(mozIDOMWindowProxy *aDomWindow)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void StopUrls (); */
NS_IMETHODIMP nsMsgWindow::StopUrls()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void closeWindow (); */
NS_IMETHODIMP nsMsgWindow::CloseWindow()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIMsgWindowTest */
#define NS_IMSGWINDOWTEST_IID_STR "ffbc8b13-243f-4cd9-92d0-01636cda425e"
#define NS_IMSGWINDOWTEST_IID \
{0xffbc8b13, 0x243f, 0x4cd9, \
{ 0x92, 0xd0, 0x01, 0x63, 0x6c, 0xda, 0x42, 0x5e }}
class NS_NO_VTABLE nsIMsgWindowTest : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOWTEST_IID)
/* void setPromptDialog (in nsIPrompt promptDialog); */
NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) = 0;
/* void setAuthPrompt (in nsIAuthPrompt authPrompt); */
NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgWindowTest, NS_IMSGWINDOWTEST_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGWINDOWTEST \
NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) override; \
NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGWINDOWTEST \
NS_METHOD SetPromptDialog(nsIPrompt *promptDialog); \
NS_METHOD SetAuthPrompt(nsIAuthPrompt *authPrompt);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOWTEST(_to) \
NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) override { return _to SetPromptDialog(promptDialog); } \
NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) override { return _to SetAuthPrompt(authPrompt); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGWINDOWTEST(_to) \
NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPromptDialog(promptDialog); } \
NS_IMETHOD SetAuthPrompt(nsIAuthPrompt *authPrompt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAuthPrompt(authPrompt); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgWindowTest : public nsIMsgWindowTest
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGWINDOWTEST
nsMsgWindowTest();
private:
~nsMsgWindowTest();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgWindowTest, nsIMsgWindowTest)
nsMsgWindowTest::nsMsgWindowTest()
{
/* member initializers and constructor code */
}
nsMsgWindowTest::~nsMsgWindowTest()
{
/* destructor code */
}
/* void setPromptDialog (in nsIPrompt promptDialog); */
NS_IMETHODIMP nsMsgWindowTest::SetPromptDialog(nsIPrompt *promptDialog)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setAuthPrompt (in nsIAuthPrompt authPrompt); */
NS_IMETHODIMP nsMsgWindowTest::SetAuthPrompt(nsIAuthPrompt *authPrompt)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgWindow_h__ */
|