DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/base/public/nsIMsgWindow.idl
 */

#ifndef __gen_nsIMsgWindow_h__
#define __gen_nsIMsgWindow_h__


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

#include "js/GCAnnotations.h"

/* 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 */

class nsIPrincipal; /* 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); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SelectFolder(const nsACString& folderUri) = 0;

  /* void selectMessage (in ACString messageUri); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SelectMessage(const nsACString& messageUri) = 0;

  /* void clearMsgPane (); */
  JS_HAZ_CAN_RUN_SCRIPT 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 \
  nsresult SelectFolder(const nsACString& folderUri); \
  nsresult SelectMessage(const nsACString& messageUri); \
  nsresult 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(); } 


/* 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; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback **aStatusFeedback) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) = 0;

  /* attribute nsIMsgWindowCommands windowCommands; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands **aWindowCommands) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) = 0;

  /* attribute nsIMsgHeaderSink msgHeaderSink; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink **aMsgHeaderSink) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) = 0;

  /* attribute nsITransactionManager transactionManager; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTransactionManager(nsITransactionManager **aTransactionManager) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) = 0;

  /* attribute nsIMsgFolder openFolder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOpenFolder(nsIMsgFolder **aOpenFolder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) = 0;

  /* attribute nsIDocShell rootDocShell; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRootDocShell(nsIDocShell **aRootDocShell) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) = 0;

  /* readonly attribute nsIDocShell messageWindowDocShell; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMessageWindowDocShell(nsIDocShell **aMessageWindowDocShell) = 0;

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

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

  /* void displayURIInMessagePane (in wstring uri, in boolean clearMsgHdr, in nsIPrincipal principal); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DisplayURIInMessagePane(const char16_t * uri, bool clearMsgHdr, nsIPrincipal *principal) = 0;

  /* void displayHTMLInMessagePane (in AString title, in AString body, in boolean clearMsgHdr); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DisplayHTMLInMessagePane(const nsAString& title, const nsAString& body, bool clearMsgHdr) = 0;

  /* readonly attribute nsIPrompt promptDialog; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPromptDialog(nsIPrompt **aPromptDialog) = 0;

  /* attribute ACString mailCharacterSet; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMailCharacterSet(nsACString& aMailCharacterSet) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMailCharacterSet(const nsACString& aMailCharacterSet) = 0;

  /* attribute boolean charsetOverride; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) = 0;

  /* attribute boolean stopped; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStopped(bool *aStopped) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStopped(bool aStopped) = 0;

  /* attribute mozIDOMWindowProxy domWindow; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDomWindow(mozIDOMWindowProxy **aDomWindow) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDomWindow(mozIDOMWindowProxy *aDomWindow) = 0;

  /* void StopUrls (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD StopUrls(void) = 0;

  /* void closeWindow (); */
  JS_HAZ_CAN_RUN_SCRIPT 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 DisplayURIInMessagePane(const char16_t * uri, bool clearMsgHdr, nsIPrincipal *principal) 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 \
  nsresult GetStatusFeedback(nsIMsgStatusFeedback **aStatusFeedback); \
  nsresult SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback); \
  nsresult GetWindowCommands(nsIMsgWindowCommands **aWindowCommands); \
  nsresult SetWindowCommands(nsIMsgWindowCommands *aWindowCommands); \
  nsresult GetMsgHeaderSink(nsIMsgHeaderSink **aMsgHeaderSink); \
  nsresult SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink); \
  nsresult GetTransactionManager(nsITransactionManager **aTransactionManager); \
  nsresult SetTransactionManager(nsITransactionManager *aTransactionManager); \
  nsresult GetOpenFolder(nsIMsgFolder **aOpenFolder); \
  nsresult SetOpenFolder(nsIMsgFolder *aOpenFolder); \
  nsresult GetRootDocShell(nsIDocShell **aRootDocShell); \
  nsresult SetRootDocShell(nsIDocShell *aRootDocShell); \
  nsresult GetMessageWindowDocShell(nsIDocShell **aMessageWindowDocShell); \
  nsresult GetAuthPrompt(nsIAuthPrompt **aAuthPrompt); \
  nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks); \
  nsresult SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks); \
  nsresult DisplayURIInMessagePane(const char16_t * uri, bool clearMsgHdr, nsIPrincipal *principal); \
  nsresult DisplayHTMLInMessagePane(const nsAString& title, const nsAString& body, bool clearMsgHdr); \
  nsresult GetPromptDialog(nsIPrompt **aPromptDialog); \
  nsresult GetMailCharacterSet(nsACString& aMailCharacterSet); \
  nsresult SetMailCharacterSet(const nsACString& aMailCharacterSet); \
  nsresult GetCharsetOverride(bool *aCharsetOverride); \
  nsresult SetCharsetOverride(bool aCharsetOverride); \
  nsresult GetStopped(bool *aStopped); \
  nsresult SetStopped(bool aStopped); \
  nsresult GetDomWindow(mozIDOMWindowProxy **aDomWindow); \
  nsresult SetDomWindow(mozIDOMWindowProxy *aDomWindow); \
  nsresult StopUrls(void); \
  nsresult 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 DisplayURIInMessagePane(const char16_t * uri, bool clearMsgHdr, nsIPrincipal *principal) override { return _to DisplayURIInMessagePane(uri, clearMsgHdr, principal); } \
  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 DisplayURIInMessagePane(const char16_t * uri, bool clearMsgHdr, nsIPrincipal *principal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayURIInMessagePane(uri, clearMsgHdr, principal); } \
  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(); } 


/* 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); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPromptDialog(nsIPrompt *promptDialog) = 0;

  /* void setAuthPrompt (in nsIAuthPrompt authPrompt); */
  JS_HAZ_CAN_RUN_SCRIPT 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 \
  nsresult SetPromptDialog(nsIPrompt *promptDialog); \
  nsresult 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); } 


#endif /* __gen_nsIMsgWindow_h__ */