/usr/include/thunderbird-11.0.1/nsIMsgWindow.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/base/public/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 nsIDOMWindow; /* forward declaration */
class nsIMsgHeaderSink; /* forward declaration */
class nsIPrompt; /* forward declaration */
class nsIInterfaceRequestor; /* 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 NS_SCRIPTABLE nsIMsgWindowCommands : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOWCOMMANDS_IID)
/* void selectFolder (in ACString folderUri); */
NS_SCRIPTABLE NS_IMETHOD SelectFolder(const nsACString & folderUri) = 0;
/* void selectMessage (in ACString messageUri); */
NS_SCRIPTABLE NS_IMETHOD SelectMessage(const nsACString & messageUri) = 0;
/* void clearMsgPane (); */
NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD SelectFolder(const nsACString & folderUri); \
NS_SCRIPTABLE NS_IMETHOD SelectMessage(const nsACString & messageUri); \
NS_SCRIPTABLE NS_IMETHOD ClearMsgPane(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOWCOMMANDS(_to) \
NS_SCRIPTABLE NS_IMETHOD SelectFolder(const nsACString & folderUri) { return _to SelectFolder(folderUri); } \
NS_SCRIPTABLE NS_IMETHOD SelectMessage(const nsACString & messageUri) { return _to SelectMessage(messageUri); } \
NS_SCRIPTABLE NS_IMETHOD ClearMsgPane(void) { 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_SCRIPTABLE NS_IMETHOD SelectFolder(const nsACString & folderUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectFolder(folderUri); } \
NS_SCRIPTABLE NS_IMETHOD SelectMessage(const nsACString & messageUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectMessage(messageUri); } \
NS_SCRIPTABLE NS_IMETHOD ClearMsgPane(void) { 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_ISUPPORTS1(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 "8ad06f07-2230-4917-968c-2269588dbf7d"
#define NS_IMSGWINDOW_IID \
{0x8ad06f07, 0x2230, 0x4917, \
{ 0x96, 0x8c, 0x22, 0x69, 0x58, 0x8d, 0xbf, 0x7d }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIMsgWindow : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGWINDOW_IID)
/* attribute nsIMsgStatusFeedback statusFeedback; */
NS_SCRIPTABLE NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) = 0;
NS_SCRIPTABLE NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) = 0;
/* attribute nsIMsgWindowCommands windowCommands; */
NS_SCRIPTABLE NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) = 0;
NS_SCRIPTABLE NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) = 0;
/* attribute nsIMsgHeaderSink msgHeaderSink; */
NS_SCRIPTABLE NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) = 0;
/* attribute nsITransactionManager transactionManager; */
NS_SCRIPTABLE NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) = 0;
NS_SCRIPTABLE NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) = 0;
/* attribute nsIMsgFolder openFolder; */
NS_SCRIPTABLE NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) = 0;
NS_SCRIPTABLE NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) = 0;
/* attribute nsIDocShell rootDocShell; */
NS_SCRIPTABLE NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) = 0;
NS_SCRIPTABLE NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) = 0;
/* readonly attribute nsIDocShell messageWindowDocShell; */
NS_SCRIPTABLE NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) = 0;
/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) = 0;
NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) = 0;
/* void displayHTMLInMessagePane (in AString title, in AString body, in boolean clearMsgHdr); */
NS_SCRIPTABLE NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) = 0;
/* readonly attribute nsIPrompt promptDialog; */
NS_SCRIPTABLE NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) = 0;
/* attribute ACString mailCharacterSet; */
NS_SCRIPTABLE NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) = 0;
/* attribute boolean charsetOverride; */
NS_SCRIPTABLE NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) = 0;
/* attribute boolean stopped; */
NS_SCRIPTABLE NS_IMETHOD GetStopped(bool *aStopped) = 0;
NS_SCRIPTABLE NS_IMETHOD SetStopped(bool aStopped) = 0;
/* attribute nsIDOMWindow domWindow; */
NS_SCRIPTABLE NS_IMETHOD GetDomWindow(nsIDOMWindow * *aDomWindow) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDomWindow(nsIDOMWindow *aDomWindow) = 0;
/* void StopUrls (); */
NS_SCRIPTABLE NS_IMETHOD StopUrls(void) = 0;
/* void closeWindow (); */
NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback); \
NS_SCRIPTABLE NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback); \
NS_SCRIPTABLE NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands); \
NS_SCRIPTABLE NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands); \
NS_SCRIPTABLE NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink); \
NS_SCRIPTABLE NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink); \
NS_SCRIPTABLE NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager); \
NS_SCRIPTABLE NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager); \
NS_SCRIPTABLE NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder); \
NS_SCRIPTABLE NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder); \
NS_SCRIPTABLE NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell); \
NS_SCRIPTABLE NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell); \
NS_SCRIPTABLE NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell); \
NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks); \
NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks); \
NS_SCRIPTABLE NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr); \
NS_SCRIPTABLE NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog); \
NS_SCRIPTABLE NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet); \
NS_SCRIPTABLE NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet); \
NS_SCRIPTABLE NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride); \
NS_SCRIPTABLE NS_IMETHOD SetCharsetOverride(bool aCharsetOverride); \
NS_SCRIPTABLE NS_IMETHOD GetStopped(bool *aStopped); \
NS_SCRIPTABLE NS_IMETHOD SetStopped(bool aStopped); \
NS_SCRIPTABLE NS_IMETHOD GetDomWindow(nsIDOMWindow * *aDomWindow); \
NS_SCRIPTABLE NS_IMETHOD SetDomWindow(nsIDOMWindow *aDomWindow); \
NS_SCRIPTABLE NS_IMETHOD StopUrls(void); \
NS_SCRIPTABLE NS_IMETHOD CloseWindow(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGWINDOW(_to) \
NS_SCRIPTABLE NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) { return _to GetStatusFeedback(aStatusFeedback); } \
NS_SCRIPTABLE NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) { return _to SetStatusFeedback(aStatusFeedback); } \
NS_SCRIPTABLE NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) { return _to GetWindowCommands(aWindowCommands); } \
NS_SCRIPTABLE NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) { return _to SetWindowCommands(aWindowCommands); } \
NS_SCRIPTABLE NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) { return _to GetMsgHeaderSink(aMsgHeaderSink); } \
NS_SCRIPTABLE NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) { return _to SetMsgHeaderSink(aMsgHeaderSink); } \
NS_SCRIPTABLE NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) { return _to GetTransactionManager(aTransactionManager); } \
NS_SCRIPTABLE NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) { return _to SetTransactionManager(aTransactionManager); } \
NS_SCRIPTABLE NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) { return _to GetOpenFolder(aOpenFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) { return _to SetOpenFolder(aOpenFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) { return _to GetRootDocShell(aRootDocShell); } \
NS_SCRIPTABLE NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) { return _to SetRootDocShell(aRootDocShell); } \
NS_SCRIPTABLE NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) { return _to GetMessageWindowDocShell(aMessageWindowDocShell); } \
NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) { return _to GetNotificationCallbacks(aNotificationCallbacks); } \
NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) { return _to SetNotificationCallbacks(aNotificationCallbacks); } \
NS_SCRIPTABLE NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) { return _to DisplayHTMLInMessagePane(title, body, clearMsgHdr); } \
NS_SCRIPTABLE NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) { return _to GetPromptDialog(aPromptDialog); } \
NS_SCRIPTABLE NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) { return _to GetMailCharacterSet(aMailCharacterSet); } \
NS_SCRIPTABLE NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) { return _to SetMailCharacterSet(aMailCharacterSet); } \
NS_SCRIPTABLE NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) { return _to GetCharsetOverride(aCharsetOverride); } \
NS_SCRIPTABLE NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) { return _to SetCharsetOverride(aCharsetOverride); } \
NS_SCRIPTABLE NS_IMETHOD GetStopped(bool *aStopped) { return _to GetStopped(aStopped); } \
NS_SCRIPTABLE NS_IMETHOD SetStopped(bool aStopped) { return _to SetStopped(aStopped); } \
NS_SCRIPTABLE NS_IMETHOD GetDomWindow(nsIDOMWindow * *aDomWindow) { return _to GetDomWindow(aDomWindow); } \
NS_SCRIPTABLE NS_IMETHOD SetDomWindow(nsIDOMWindow *aDomWindow) { return _to SetDomWindow(aDomWindow); } \
NS_SCRIPTABLE NS_IMETHOD StopUrls(void) { return _to StopUrls(); } \
NS_SCRIPTABLE NS_IMETHOD CloseWindow(void) { 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_SCRIPTABLE NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusFeedback(aStatusFeedback); } \
NS_SCRIPTABLE NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatusFeedback(aStatusFeedback); } \
NS_SCRIPTABLE NS_IMETHOD GetWindowCommands(nsIMsgWindowCommands * *aWindowCommands) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindowCommands(aWindowCommands); } \
NS_SCRIPTABLE NS_IMETHOD SetWindowCommands(nsIMsgWindowCommands *aWindowCommands) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindowCommands(aWindowCommands); } \
NS_SCRIPTABLE NS_IMETHOD GetMsgHeaderSink(nsIMsgHeaderSink * *aMsgHeaderSink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgHeaderSink(aMsgHeaderSink); } \
NS_SCRIPTABLE NS_IMETHOD SetMsgHeaderSink(nsIMsgHeaderSink *aMsgHeaderSink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMsgHeaderSink(aMsgHeaderSink); } \
NS_SCRIPTABLE NS_IMETHOD GetTransactionManager(nsITransactionManager * *aTransactionManager) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransactionManager(aTransactionManager); } \
NS_SCRIPTABLE NS_IMETHOD SetTransactionManager(nsITransactionManager *aTransactionManager) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTransactionManager(aTransactionManager); } \
NS_SCRIPTABLE NS_IMETHOD GetOpenFolder(nsIMsgFolder * *aOpenFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOpenFolder(aOpenFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetOpenFolder(nsIMsgFolder *aOpenFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOpenFolder(aOpenFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetRootDocShell(nsIDocShell * *aRootDocShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootDocShell(aRootDocShell); } \
NS_SCRIPTABLE NS_IMETHOD SetRootDocShell(nsIDocShell *aRootDocShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRootDocShell(aRootDocShell); } \
NS_SCRIPTABLE NS_IMETHOD GetMessageWindowDocShell(nsIDocShell * *aMessageWindowDocShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageWindowDocShell(aMessageWindowDocShell); } \
NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationCallbacks(aNotificationCallbacks); } \
NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotificationCallbacks(aNotificationCallbacks); } \
NS_SCRIPTABLE NS_IMETHOD DisplayHTMLInMessagePane(const nsAString & title, const nsAString & body, bool clearMsgHdr) { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayHTMLInMessagePane(title, body, clearMsgHdr); } \
NS_SCRIPTABLE NS_IMETHOD GetPromptDialog(nsIPrompt * *aPromptDialog) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPromptDialog(aPromptDialog); } \
NS_SCRIPTABLE NS_IMETHOD GetMailCharacterSet(nsACString & aMailCharacterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailCharacterSet(aMailCharacterSet); } \
NS_SCRIPTABLE NS_IMETHOD SetMailCharacterSet(const nsACString & aMailCharacterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailCharacterSet(aMailCharacterSet); } \
NS_SCRIPTABLE NS_IMETHOD GetCharsetOverride(bool *aCharsetOverride) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharsetOverride(aCharsetOverride); } \
NS_SCRIPTABLE NS_IMETHOD SetCharsetOverride(bool aCharsetOverride) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharsetOverride(aCharsetOverride); } \
NS_SCRIPTABLE NS_IMETHOD GetStopped(bool *aStopped) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStopped(aStopped); } \
NS_SCRIPTABLE NS_IMETHOD SetStopped(bool aStopped) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStopped(aStopped); } \
NS_SCRIPTABLE NS_IMETHOD GetDomWindow(nsIDOMWindow * *aDomWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomWindow(aDomWindow); } \
NS_SCRIPTABLE NS_IMETHOD SetDomWindow(nsIDOMWindow *aDomWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDomWindow(aDomWindow); } \
NS_SCRIPTABLE NS_IMETHOD StopUrls(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->StopUrls(); } \
NS_SCRIPTABLE NS_IMETHOD CloseWindow(void) { 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_ISUPPORTS1(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;
}
/* 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 nsIDOMWindow domWindow; */
NS_IMETHODIMP nsMsgWindow::GetDomWindow(nsIDOMWindow * *aDomWindow)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgWindow::SetDomWindow(nsIDOMWindow *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
#endif /* __gen_nsIMsgWindow_h__ */
|