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

#ifndef __gen_nsIMsgNewsFolder_h__
#define __gen_nsIMsgNewsFolder_h__


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

#ifndef __gen_nsIMsgFolder_h__
#include "nsIMsgFolder.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
#include "nsTArray.h"
class nsIMsgWindow; /* forward declaration */

class nsINntpIncomingServer; /* forward declaration */


/* starting interface:    nsIMsgNewsFolder */
#define NS_IMSGNEWSFOLDER_IID_STR "9a12c3a5-9de5-4c57-ace3-d51802b525a9"

#define NS_IMSGNEWSFOLDER_IID \
  {0x9a12c3a5, 0x9de5, 0x4c57, \
    { 0xac, 0xe3, 0xd5, 0x18, 0x02, 0xb5, 0x25, 0xa9 }}

class NS_NO_VTABLE nsIMsgNewsFolder : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGNEWSFOLDER_IID)

  /* readonly attribute AString unicodeName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUnicodeName(nsAString& aUnicodeName) = 0;

  /* [noscript] readonly attribute ACString rawName; */
  NS_IMETHOD GetRawName(nsACString& aRawName) = 0;

  /* readonly attribute nsINntpIncomingServer nntpServer; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNntpServer(nsINntpIncomingServer **aNntpServer) = 0;

  /* attribute boolean saveArticleOffline; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSaveArticleOffline(bool *aSaveArticleOffline) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSaveArticleOffline(bool aSaveArticleOffline) = 0;

  /* bool getAuthenticationCredentials (in nsIMsgWindow aMsgWindow, in bool mayPrompt, in bool mustPrompt); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAuthenticationCredentials(nsIMsgWindow *aMsgWindow, bool mayPrompt, bool mustPrompt, bool *_retval) = 0;

  /* attribute ACString groupUsername; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetGroupUsername(nsACString& aGroupUsername) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetGroupUsername(const nsACString& aGroupUsername) = 0;

  /* attribute ACString groupPassword; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetGroupPassword(nsACString& aGroupPassword) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetGroupPassword(const nsACString& aGroupPassword) = 0;

  /* void forgetAuthenticationCredentials (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ForgetAuthenticationCredentials(void) = 0;

  /* void moveFolder (in nsIMsgFolder aNewsgroupToMove, in nsIMsgFolder aRefNewsgroup, in int32_t aOrientation); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD MoveFolder(nsIMsgFolder *aNewsgroupToMove, nsIMsgFolder *aRefNewsgroup, int32_t aOrientation) = 0;

  /* nsIMsgFolder addNewsgroup (in AUTF8String newsgroupName, in ACString setStr); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddNewsgroup(const nsACString& newsgroupName, const nsACString& setStr, nsIMsgFolder **_retval) = 0;

  /* void setReadSetFromStr (in ACString setStr); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetReadSetFromStr(const nsACString& setStr) = 0;

  /* readonly attribute ACString newsrcLine; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNewsrcLine(nsACString& aNewsrcLine) = 0;

  /* readonly attribute ACString optionLines; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOptionLines(nsACString& aOptionLines) = 0;

  /* readonly attribute ACString unsubscribedNewsgroupLines; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUnsubscribedNewsgroupLines(nsACString& aUnsubscribedNewsgroupLines) = 0;

  /* void SetNewsrcHasChanged (in boolean newsrcHasChanged); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNewsrcHasChanged(bool newsrcHasChanged) = 0;

  /* void updateSummaryFromNNTPInfo (in long oldest, in long youngest, in long total); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD UpdateSummaryFromNNTPInfo(int32_t oldest, int32_t youngest, int32_t total) = 0;

  /* void removeMessage (in nsMsgKey key); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveMessage(nsMsgKey key) = 0;

  /* [noscript] void removeMessages (in nsMsgKeyArrayRef aMsgKeys); */
  NS_IMETHOD RemoveMessages(nsTArray<nsMsgKey> & aMsgKeys) = 0;

  /* void cancelComplete (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CancelComplete(void) = 0;

  /* void cancelFailed (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CancelFailed(void) = 0;

  /* ACString getMessageIdForKey (in nsMsgKey key); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMessageIdForKey(nsMsgKey key, nsACString& _retval) = 0;

  /* void getNextNMessages (in nsIMsgWindow aMsgWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNextNMessages(nsIMsgWindow *aMsgWindow) = 0;

  /* void notifyDownloadedLine (in string line, in nsMsgKey key); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD NotifyDownloadedLine(const char * line, nsMsgKey key) = 0;

  /* void notifyFinishedDownloadinghdrs (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD NotifyFinishedDownloadinghdrs(void) = 0;

  /* nsIMsgDatabase getDatabaseWithoutCache (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDatabaseWithoutCache(nsIMsgDatabase **_retval) = 0;

  /* void cancelMessage (in nsIMsgDBHdr aMsgHdr, in nsIMsgWindow aMsgWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CancelMessage(nsIMsgDBHdr *aMsgHdr, nsIMsgWindow *aMsgWindow) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgNewsFolder, NS_IMSGNEWSFOLDER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGNEWSFOLDER \
  NS_IMETHOD GetUnicodeName(nsAString& aUnicodeName) override; \
  NS_IMETHOD GetRawName(nsACString& aRawName) override; \
  NS_IMETHOD GetNntpServer(nsINntpIncomingServer **aNntpServer) override; \
  NS_IMETHOD GetSaveArticleOffline(bool *aSaveArticleOffline) override; \
  NS_IMETHOD SetSaveArticleOffline(bool aSaveArticleOffline) override; \
  NS_IMETHOD GetAuthenticationCredentials(nsIMsgWindow *aMsgWindow, bool mayPrompt, bool mustPrompt, bool *_retval) override; \
  NS_IMETHOD GetGroupUsername(nsACString& aGroupUsername) override; \
  NS_IMETHOD SetGroupUsername(const nsACString& aGroupUsername) override; \
  NS_IMETHOD GetGroupPassword(nsACString& aGroupPassword) override; \
  NS_IMETHOD SetGroupPassword(const nsACString& aGroupPassword) override; \
  NS_IMETHOD ForgetAuthenticationCredentials(void) override; \
  NS_IMETHOD MoveFolder(nsIMsgFolder *aNewsgroupToMove, nsIMsgFolder *aRefNewsgroup, int32_t aOrientation) override; \
  NS_IMETHOD AddNewsgroup(const nsACString& newsgroupName, const nsACString& setStr, nsIMsgFolder **_retval) override; \
  NS_IMETHOD SetReadSetFromStr(const nsACString& setStr) override; \
  NS_IMETHOD GetNewsrcLine(nsACString& aNewsrcLine) override; \
  NS_IMETHOD GetOptionLines(nsACString& aOptionLines) override; \
  NS_IMETHOD GetUnsubscribedNewsgroupLines(nsACString& aUnsubscribedNewsgroupLines) override; \
  NS_IMETHOD SetNewsrcHasChanged(bool newsrcHasChanged) override; \
  NS_IMETHOD UpdateSummaryFromNNTPInfo(int32_t oldest, int32_t youngest, int32_t total) override; \
  NS_IMETHOD RemoveMessage(nsMsgKey key) override; \
  NS_IMETHOD RemoveMessages(nsTArray<nsMsgKey> & aMsgKeys) override; \
  NS_IMETHOD CancelComplete(void) override; \
  NS_IMETHOD CancelFailed(void) override; \
  NS_IMETHOD GetMessageIdForKey(nsMsgKey key, nsACString& _retval) override; \
  NS_IMETHOD GetNextNMessages(nsIMsgWindow *aMsgWindow) override; \
  NS_IMETHOD NotifyDownloadedLine(const char * line, nsMsgKey key) override; \
  NS_IMETHOD NotifyFinishedDownloadinghdrs(void) override; \
  NS_IMETHOD GetDatabaseWithoutCache(nsIMsgDatabase **_retval) override; \
  NS_IMETHOD CancelMessage(nsIMsgDBHdr *aMsgHdr, nsIMsgWindow *aMsgWindow) 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_NSIMSGNEWSFOLDER \
  nsresult GetUnicodeName(nsAString& aUnicodeName); \
  nsresult GetRawName(nsACString& aRawName); \
  nsresult GetNntpServer(nsINntpIncomingServer **aNntpServer); \
  nsresult GetSaveArticleOffline(bool *aSaveArticleOffline); \
  nsresult SetSaveArticleOffline(bool aSaveArticleOffline); \
  nsresult GetAuthenticationCredentials(nsIMsgWindow *aMsgWindow, bool mayPrompt, bool mustPrompt, bool *_retval); \
  nsresult GetGroupUsername(nsACString& aGroupUsername); \
  nsresult SetGroupUsername(const nsACString& aGroupUsername); \
  nsresult GetGroupPassword(nsACString& aGroupPassword); \
  nsresult SetGroupPassword(const nsACString& aGroupPassword); \
  nsresult ForgetAuthenticationCredentials(void); \
  nsresult MoveFolder(nsIMsgFolder *aNewsgroupToMove, nsIMsgFolder *aRefNewsgroup, int32_t aOrientation); \
  nsresult AddNewsgroup(const nsACString& newsgroupName, const nsACString& setStr, nsIMsgFolder **_retval); \
  nsresult SetReadSetFromStr(const nsACString& setStr); \
  nsresult GetNewsrcLine(nsACString& aNewsrcLine); \
  nsresult GetOptionLines(nsACString& aOptionLines); \
  nsresult GetUnsubscribedNewsgroupLines(nsACString& aUnsubscribedNewsgroupLines); \
  nsresult SetNewsrcHasChanged(bool newsrcHasChanged); \
  nsresult UpdateSummaryFromNNTPInfo(int32_t oldest, int32_t youngest, int32_t total); \
  nsresult RemoveMessage(nsMsgKey key); \
  nsresult RemoveMessages(nsTArray<nsMsgKey> & aMsgKeys); \
  nsresult CancelComplete(void); \
  nsresult CancelFailed(void); \
  nsresult GetMessageIdForKey(nsMsgKey key, nsACString& _retval); \
  nsresult GetNextNMessages(nsIMsgWindow *aMsgWindow); \
  nsresult NotifyDownloadedLine(const char * line, nsMsgKey key); \
  nsresult NotifyFinishedDownloadinghdrs(void); \
  nsresult GetDatabaseWithoutCache(nsIMsgDatabase **_retval); \
  nsresult CancelMessage(nsIMsgDBHdr *aMsgHdr, nsIMsgWindow *aMsgWindow); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGNEWSFOLDER(_to) \
  NS_IMETHOD GetUnicodeName(nsAString& aUnicodeName) override { return _to GetUnicodeName(aUnicodeName); } \
  NS_IMETHOD GetRawName(nsACString& aRawName) override { return _to GetRawName(aRawName); } \
  NS_IMETHOD GetNntpServer(nsINntpIncomingServer **aNntpServer) override { return _to GetNntpServer(aNntpServer); } \
  NS_IMETHOD GetSaveArticleOffline(bool *aSaveArticleOffline) override { return _to GetSaveArticleOffline(aSaveArticleOffline); } \
  NS_IMETHOD SetSaveArticleOffline(bool aSaveArticleOffline) override { return _to SetSaveArticleOffline(aSaveArticleOffline); } \
  NS_IMETHOD GetAuthenticationCredentials(nsIMsgWindow *aMsgWindow, bool mayPrompt, bool mustPrompt, bool *_retval) override { return _to GetAuthenticationCredentials(aMsgWindow, mayPrompt, mustPrompt, _retval); } \
  NS_IMETHOD GetGroupUsername(nsACString& aGroupUsername) override { return _to GetGroupUsername(aGroupUsername); } \
  NS_IMETHOD SetGroupUsername(const nsACString& aGroupUsername) override { return _to SetGroupUsername(aGroupUsername); } \
  NS_IMETHOD GetGroupPassword(nsACString& aGroupPassword) override { return _to GetGroupPassword(aGroupPassword); } \
  NS_IMETHOD SetGroupPassword(const nsACString& aGroupPassword) override { return _to SetGroupPassword(aGroupPassword); } \
  NS_IMETHOD ForgetAuthenticationCredentials(void) override { return _to ForgetAuthenticationCredentials(); } \
  NS_IMETHOD MoveFolder(nsIMsgFolder *aNewsgroupToMove, nsIMsgFolder *aRefNewsgroup, int32_t aOrientation) override { return _to MoveFolder(aNewsgroupToMove, aRefNewsgroup, aOrientation); } \
  NS_IMETHOD AddNewsgroup(const nsACString& newsgroupName, const nsACString& setStr, nsIMsgFolder **_retval) override { return _to AddNewsgroup(newsgroupName, setStr, _retval); } \
  NS_IMETHOD SetReadSetFromStr(const nsACString& setStr) override { return _to SetReadSetFromStr(setStr); } \
  NS_IMETHOD GetNewsrcLine(nsACString& aNewsrcLine) override { return _to GetNewsrcLine(aNewsrcLine); } \
  NS_IMETHOD GetOptionLines(nsACString& aOptionLines) override { return _to GetOptionLines(aOptionLines); } \
  NS_IMETHOD GetUnsubscribedNewsgroupLines(nsACString& aUnsubscribedNewsgroupLines) override { return _to GetUnsubscribedNewsgroupLines(aUnsubscribedNewsgroupLines); } \
  NS_IMETHOD SetNewsrcHasChanged(bool newsrcHasChanged) override { return _to SetNewsrcHasChanged(newsrcHasChanged); } \
  NS_IMETHOD UpdateSummaryFromNNTPInfo(int32_t oldest, int32_t youngest, int32_t total) override { return _to UpdateSummaryFromNNTPInfo(oldest, youngest, total); } \
  NS_IMETHOD RemoveMessage(nsMsgKey key) override { return _to RemoveMessage(key); } \
  NS_IMETHOD RemoveMessages(nsTArray<nsMsgKey> & aMsgKeys) override { return _to RemoveMessages(aMsgKeys); } \
  NS_IMETHOD CancelComplete(void) override { return _to CancelComplete(); } \
  NS_IMETHOD CancelFailed(void) override { return _to CancelFailed(); } \
  NS_IMETHOD GetMessageIdForKey(nsMsgKey key, nsACString& _retval) override { return _to GetMessageIdForKey(key, _retval); } \
  NS_IMETHOD GetNextNMessages(nsIMsgWindow *aMsgWindow) override { return _to GetNextNMessages(aMsgWindow); } \
  NS_IMETHOD NotifyDownloadedLine(const char * line, nsMsgKey key) override { return _to NotifyDownloadedLine(line, key); } \
  NS_IMETHOD NotifyFinishedDownloadinghdrs(void) override { return _to NotifyFinishedDownloadinghdrs(); } \
  NS_IMETHOD GetDatabaseWithoutCache(nsIMsgDatabase **_retval) override { return _to GetDatabaseWithoutCache(_retval); } \
  NS_IMETHOD CancelMessage(nsIMsgDBHdr *aMsgHdr, nsIMsgWindow *aMsgWindow) override { return _to CancelMessage(aMsgHdr, aMsgWindow); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGNEWSFOLDER(_to) \
  NS_IMETHOD GetUnicodeName(nsAString& aUnicodeName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnicodeName(aUnicodeName); } \
  NS_IMETHOD GetRawName(nsACString& aRawName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRawName(aRawName); } \
  NS_IMETHOD GetNntpServer(nsINntpIncomingServer **aNntpServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNntpServer(aNntpServer); } \
  NS_IMETHOD GetSaveArticleOffline(bool *aSaveArticleOffline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSaveArticleOffline(aSaveArticleOffline); } \
  NS_IMETHOD SetSaveArticleOffline(bool aSaveArticleOffline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSaveArticleOffline(aSaveArticleOffline); } \
  NS_IMETHOD GetAuthenticationCredentials(nsIMsgWindow *aMsgWindow, bool mayPrompt, bool mustPrompt, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthenticationCredentials(aMsgWindow, mayPrompt, mustPrompt, _retval); } \
  NS_IMETHOD GetGroupUsername(nsACString& aGroupUsername) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGroupUsername(aGroupUsername); } \
  NS_IMETHOD SetGroupUsername(const nsACString& aGroupUsername) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGroupUsername(aGroupUsername); } \
  NS_IMETHOD GetGroupPassword(nsACString& aGroupPassword) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGroupPassword(aGroupPassword); } \
  NS_IMETHOD SetGroupPassword(const nsACString& aGroupPassword) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGroupPassword(aGroupPassword); } \
  NS_IMETHOD ForgetAuthenticationCredentials(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ForgetAuthenticationCredentials(); } \
  NS_IMETHOD MoveFolder(nsIMsgFolder *aNewsgroupToMove, nsIMsgFolder *aRefNewsgroup, int32_t aOrientation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveFolder(aNewsgroupToMove, aRefNewsgroup, aOrientation); } \
  NS_IMETHOD AddNewsgroup(const nsACString& newsgroupName, const nsACString& setStr, nsIMsgFolder **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNewsgroup(newsgroupName, setStr, _retval); } \
  NS_IMETHOD SetReadSetFromStr(const nsACString& setStr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReadSetFromStr(setStr); } \
  NS_IMETHOD GetNewsrcLine(nsACString& aNewsrcLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsrcLine(aNewsrcLine); } \
  NS_IMETHOD GetOptionLines(nsACString& aOptionLines) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOptionLines(aOptionLines); } \
  NS_IMETHOD GetUnsubscribedNewsgroupLines(nsACString& aUnsubscribedNewsgroupLines) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnsubscribedNewsgroupLines(aUnsubscribedNewsgroupLines); } \
  NS_IMETHOD SetNewsrcHasChanged(bool newsrcHasChanged) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNewsrcHasChanged(newsrcHasChanged); } \
  NS_IMETHOD UpdateSummaryFromNNTPInfo(int32_t oldest, int32_t youngest, int32_t total) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateSummaryFromNNTPInfo(oldest, youngest, total); } \
  NS_IMETHOD RemoveMessage(nsMsgKey key) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveMessage(key); } \
  NS_IMETHOD RemoveMessages(nsTArray<nsMsgKey> & aMsgKeys) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveMessages(aMsgKeys); } \
  NS_IMETHOD CancelComplete(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelComplete(); } \
  NS_IMETHOD CancelFailed(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelFailed(); } \
  NS_IMETHOD GetMessageIdForKey(nsMsgKey key, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageIdForKey(key, _retval); } \
  NS_IMETHOD GetNextNMessages(nsIMsgWindow *aMsgWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextNMessages(aMsgWindow); } \
  NS_IMETHOD NotifyDownloadedLine(const char * line, nsMsgKey key) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyDownloadedLine(line, key); } \
  NS_IMETHOD NotifyFinishedDownloadinghdrs(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyFinishedDownloadinghdrs(); } \
  NS_IMETHOD GetDatabaseWithoutCache(nsIMsgDatabase **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDatabaseWithoutCache(_retval); } \
  NS_IMETHOD CancelMessage(nsIMsgDBHdr *aMsgHdr, nsIMsgWindow *aMsgWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelMessage(aMsgHdr, aMsgWindow); } 


#endif /* __gen_nsIMsgNewsFolder_h__ */