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

#ifndef __gen_nsINntpIncomingServer_h__
#define __gen_nsINntpIncomingServer_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 nsIFile; /* forward declaration */

class nsIMsgNewsFolder; /* forward declaration */

class nsINNTPProtocol; /* forward declaration */

class nsNNTPProtocol;
class nsIChannel; /* forward declaration */

class nsIURI; /* forward declaration */

class nsIMsgWindow; /* forward declaration */


/* starting interface:    nsINntpIncomingServer */
#define NS_INNTPINCOMINGSERVER_IID_STR "077620ed-c6c4-4d4d-bed5-4d041f924002"

#define NS_INNTPINCOMINGSERVER_IID \
  {0x077620ed, 0xc6c4, 0x4d4d, \
    { 0xbe, 0xd5, 0x4d, 0x04, 0x1f, 0x92, 0x40, 0x02 }}

class NS_NO_VTABLE nsINntpIncomingServer : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INNTPINCOMINGSERVER_IID)

  /* attribute nsIFile newsrcFilePath; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNewsrcFilePath(nsIFile **aNewsrcFilePath) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNewsrcFilePath(nsIFile *aNewsrcFilePath) = 0;

  /* attribute nsIFile newsrcRootPath; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNewsrcRootPath(nsIFile **aNewsrcRootPath) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNewsrcRootPath(nsIFile *aNewsrcRootPath) = 0;

  /* attribute boolean notifyOn; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNotifyOn(bool *aNotifyOn) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNotifyOn(bool aNotifyOn) = 0;

  /* attribute long maxArticles; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMaxArticles(int32_t *aMaxArticles) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMaxArticles(int32_t aMaxArticles) = 0;

  /* attribute boolean markOldRead; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMarkOldRead(bool aMarkOldRead) = 0;

  /* attribute boolean abbreviate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAbbreviate(bool *aAbbreviate) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAbbreviate(bool aAbbreviate) = 0;

  /* attribute boolean singleSignon; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSingleSignon(bool *aSingleSignon) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSingleSignon(bool aSingleSignon) = 0;

  /* attribute ACString charset; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCharset(nsACString& aCharset) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCharset(const nsACString& aCharset) = 0;

  /* void addNewsgroup (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddNewsgroup(const nsAString& name) = 0;

  /* void removeNewsgroup (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveNewsgroup(const nsAString& name) = 0;

  /* void writeNewsrcFile (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD WriteNewsrcFile(void) = 0;

  /* attribute boolean newsrcHasChanged; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged) = 0;

  /* attribute long maximumConnectionsNumber; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) = 0;

  /* void displaySubscribedGroup (in nsIMsgNewsFolder msgFolder, in long firstMessage, in long lastMessage, in long totalMessages); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, int32_t firstMessage, int32_t lastMessage, int32_t totalMessages) = 0;

  /* nsIChannel getNntpChannel (in nsIURI uri, in nsIMsgWindow window); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel **_retval) = 0;

  /* void loadNewsUrl (in nsIURI uri, in nsIMsgWindow window, in nsISupports consumer); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer) = 0;

  /* void removeConnection (in nsINNTPProtocol aNntpConnection); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection) = 0;

  /* [noscript] void prepareForNextUrl (in nsNNTPProtocol aNntpConnection); */
  NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol * aNntpConnection) = 0;

  /* boolean containsNewsgroup (in AUTF8String escapedName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ContainsNewsgroup(const nsACString& escapedName, bool *_retval) = 0;

  /* void subscribeToNewsgroup (in AUTF8String name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SubscribeToNewsgroup(const nsACString& name) = 0;

  /* [noscript] void addNewsgroupToList (in string name); */
  NS_IMETHOD AddNewsgroupToList(const char * name) = 0;

  /* attribute boolean supportsExtensions; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions) = 0;

  /* void addExtension (in string extension); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddExtension(const char * extension) = 0;

  /* boolean queryExtension (in string extension); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QueryExtension(const char * extension, bool *_retval) = 0;

  /* attribute boolean postingAllowed; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPostingAllowed(bool aPostingAllowed) = 0;

  /* attribute boolean pushAuth; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPushAuth(bool *aPushAuth) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPushAuth(bool aPushAuth) = 0;

  /* attribute unsigned long lastUpdatedTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLastUpdatedTime(uint32_t *aLastUpdatedTime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLastUpdatedTime(uint32_t aLastUpdatedTime) = 0;

  /* void addPropertyForGet (in string name, in string value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddPropertyForGet(const char * name, const char * value) = 0;

  /* string queryPropertyForGet (in string name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval) = 0;

  /* void addSearchableGroup (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddSearchableGroup(const nsAString& name) = 0;

  /* boolean querySearchableGroup (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QuerySearchableGroup(const nsAString& name, bool *_retval) = 0;

  /* void addSearchableHeader (in string headerName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddSearchableHeader(const char * headerName) = 0;

  /* boolean querySearchableHeader (in string headerName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval) = 0;

  /* nsIMsgNewsFolder findGroup (in AUTF8String name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD FindGroup(const nsACString& name, nsIMsgNewsFolder **_retval) = 0;

  /* readonly attribute AUTF8String firstGroupNeedingExtraInfo; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString& aFirstGroupNeedingExtraInfo) = 0;

  /* void setGroupNeedsExtraInfo (in AUTF8String name, in boolean needsExtraInfo); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString& name, bool needsExtraInfo) = 0;

  /* void groupNotFound (in nsIMsgWindow window, in AString group, in boolean opening); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString& group, bool opening) = 0;

  /* void setPrettyNameForGroup (in AString name, in AString prettyName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPrettyNameForGroup(const nsAString& name, const nsAString& prettyName) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINntpIncomingServer, NS_INNTPINCOMINGSERVER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINNTPINCOMINGSERVER \
  NS_IMETHOD GetNewsrcFilePath(nsIFile **aNewsrcFilePath) override; \
  NS_IMETHOD SetNewsrcFilePath(nsIFile *aNewsrcFilePath) override; \
  NS_IMETHOD GetNewsrcRootPath(nsIFile **aNewsrcRootPath) override; \
  NS_IMETHOD SetNewsrcRootPath(nsIFile *aNewsrcRootPath) override; \
  NS_IMETHOD GetNotifyOn(bool *aNotifyOn) override; \
  NS_IMETHOD SetNotifyOn(bool aNotifyOn) override; \
  NS_IMETHOD GetMaxArticles(int32_t *aMaxArticles) override; \
  NS_IMETHOD SetMaxArticles(int32_t aMaxArticles) override; \
  NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead) override; \
  NS_IMETHOD SetMarkOldRead(bool aMarkOldRead) override; \
  NS_IMETHOD GetAbbreviate(bool *aAbbreviate) override; \
  NS_IMETHOD SetAbbreviate(bool aAbbreviate) override; \
  NS_IMETHOD GetSingleSignon(bool *aSingleSignon) override; \
  NS_IMETHOD SetSingleSignon(bool aSingleSignon) override; \
  NS_IMETHOD GetCharset(nsACString& aCharset) override; \
  NS_IMETHOD SetCharset(const nsACString& aCharset) override; \
  NS_IMETHOD AddNewsgroup(const nsAString& name) override; \
  NS_IMETHOD RemoveNewsgroup(const nsAString& name) override; \
  NS_IMETHOD WriteNewsrcFile(void) override; \
  NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged) override; \
  NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged) override; \
  NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) override; \
  NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) override; \
  NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, int32_t firstMessage, int32_t lastMessage, int32_t totalMessages) override; \
  NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel **_retval) override; \
  NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer) override; \
  NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection) override; \
  NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol * aNntpConnection) override; \
  NS_IMETHOD ContainsNewsgroup(const nsACString& escapedName, bool *_retval) override; \
  NS_IMETHOD SubscribeToNewsgroup(const nsACString& name) override; \
  NS_IMETHOD AddNewsgroupToList(const char * name) override; \
  NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions) override; \
  NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions) override; \
  NS_IMETHOD AddExtension(const char * extension) override; \
  NS_IMETHOD QueryExtension(const char * extension, bool *_retval) override; \
  NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed) override; \
  NS_IMETHOD SetPostingAllowed(bool aPostingAllowed) override; \
  NS_IMETHOD GetPushAuth(bool *aPushAuth) override; \
  NS_IMETHOD SetPushAuth(bool aPushAuth) override; \
  NS_IMETHOD GetLastUpdatedTime(uint32_t *aLastUpdatedTime) override; \
  NS_IMETHOD SetLastUpdatedTime(uint32_t aLastUpdatedTime) override; \
  NS_IMETHOD AddPropertyForGet(const char * name, const char * value) override; \
  NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval) override; \
  NS_IMETHOD AddSearchableGroup(const nsAString& name) override; \
  NS_IMETHOD QuerySearchableGroup(const nsAString& name, bool *_retval) override; \
  NS_IMETHOD AddSearchableHeader(const char * headerName) override; \
  NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval) override; \
  NS_IMETHOD FindGroup(const nsACString& name, nsIMsgNewsFolder **_retval) override; \
  NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString& aFirstGroupNeedingExtraInfo) override; \
  NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString& name, bool needsExtraInfo) override; \
  NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString& group, bool opening) override; \
  NS_IMETHOD SetPrettyNameForGroup(const nsAString& name, const nsAString& prettyName) 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_NSINNTPINCOMINGSERVER \
  nsresult GetNewsrcFilePath(nsIFile **aNewsrcFilePath); \
  nsresult SetNewsrcFilePath(nsIFile *aNewsrcFilePath); \
  nsresult GetNewsrcRootPath(nsIFile **aNewsrcRootPath); \
  nsresult SetNewsrcRootPath(nsIFile *aNewsrcRootPath); \
  nsresult GetNotifyOn(bool *aNotifyOn); \
  nsresult SetNotifyOn(bool aNotifyOn); \
  nsresult GetMaxArticles(int32_t *aMaxArticles); \
  nsresult SetMaxArticles(int32_t aMaxArticles); \
  nsresult GetMarkOldRead(bool *aMarkOldRead); \
  nsresult SetMarkOldRead(bool aMarkOldRead); \
  nsresult GetAbbreviate(bool *aAbbreviate); \
  nsresult SetAbbreviate(bool aAbbreviate); \
  nsresult GetSingleSignon(bool *aSingleSignon); \
  nsresult SetSingleSignon(bool aSingleSignon); \
  nsresult GetCharset(nsACString& aCharset); \
  nsresult SetCharset(const nsACString& aCharset); \
  nsresult AddNewsgroup(const nsAString& name); \
  nsresult RemoveNewsgroup(const nsAString& name); \
  nsresult WriteNewsrcFile(void); \
  nsresult GetNewsrcHasChanged(bool *aNewsrcHasChanged); \
  nsresult SetNewsrcHasChanged(bool aNewsrcHasChanged); \
  nsresult GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber); \
  nsresult SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber); \
  nsresult DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, int32_t firstMessage, int32_t lastMessage, int32_t totalMessages); \
  nsresult GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel **_retval); \
  nsresult LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer); \
  nsresult RemoveConnection(nsINNTPProtocol *aNntpConnection); \
  nsresult PrepareForNextUrl(nsNNTPProtocol * aNntpConnection); \
  nsresult ContainsNewsgroup(const nsACString& escapedName, bool *_retval); \
  nsresult SubscribeToNewsgroup(const nsACString& name); \
  nsresult AddNewsgroupToList(const char * name); \
  nsresult GetSupportsExtensions(bool *aSupportsExtensions); \
  nsresult SetSupportsExtensions(bool aSupportsExtensions); \
  nsresult AddExtension(const char * extension); \
  nsresult QueryExtension(const char * extension, bool *_retval); \
  nsresult GetPostingAllowed(bool *aPostingAllowed); \
  nsresult SetPostingAllowed(bool aPostingAllowed); \
  nsresult GetPushAuth(bool *aPushAuth); \
  nsresult SetPushAuth(bool aPushAuth); \
  nsresult GetLastUpdatedTime(uint32_t *aLastUpdatedTime); \
  nsresult SetLastUpdatedTime(uint32_t aLastUpdatedTime); \
  nsresult AddPropertyForGet(const char * name, const char * value); \
  nsresult QueryPropertyForGet(const char * name, char * *_retval); \
  nsresult AddSearchableGroup(const nsAString& name); \
  nsresult QuerySearchableGroup(const nsAString& name, bool *_retval); \
  nsresult AddSearchableHeader(const char * headerName); \
  nsresult QuerySearchableHeader(const char * headerName, bool *_retval); \
  nsresult FindGroup(const nsACString& name, nsIMsgNewsFolder **_retval); \
  nsresult GetFirstGroupNeedingExtraInfo(nsACString& aFirstGroupNeedingExtraInfo); \
  nsresult SetGroupNeedsExtraInfo(const nsACString& name, bool needsExtraInfo); \
  nsresult GroupNotFound(nsIMsgWindow *window, const nsAString& group, bool opening); \
  nsresult SetPrettyNameForGroup(const nsAString& name, const nsAString& prettyName); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINNTPINCOMINGSERVER(_to) \
  NS_IMETHOD GetNewsrcFilePath(nsIFile **aNewsrcFilePath) override { return _to GetNewsrcFilePath(aNewsrcFilePath); } \
  NS_IMETHOD SetNewsrcFilePath(nsIFile *aNewsrcFilePath) override { return _to SetNewsrcFilePath(aNewsrcFilePath); } \
  NS_IMETHOD GetNewsrcRootPath(nsIFile **aNewsrcRootPath) override { return _to GetNewsrcRootPath(aNewsrcRootPath); } \
  NS_IMETHOD SetNewsrcRootPath(nsIFile *aNewsrcRootPath) override { return _to SetNewsrcRootPath(aNewsrcRootPath); } \
  NS_IMETHOD GetNotifyOn(bool *aNotifyOn) override { return _to GetNotifyOn(aNotifyOn); } \
  NS_IMETHOD SetNotifyOn(bool aNotifyOn) override { return _to SetNotifyOn(aNotifyOn); } \
  NS_IMETHOD GetMaxArticles(int32_t *aMaxArticles) override { return _to GetMaxArticles(aMaxArticles); } \
  NS_IMETHOD SetMaxArticles(int32_t aMaxArticles) override { return _to SetMaxArticles(aMaxArticles); } \
  NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead) override { return _to GetMarkOldRead(aMarkOldRead); } \
  NS_IMETHOD SetMarkOldRead(bool aMarkOldRead) override { return _to SetMarkOldRead(aMarkOldRead); } \
  NS_IMETHOD GetAbbreviate(bool *aAbbreviate) override { return _to GetAbbreviate(aAbbreviate); } \
  NS_IMETHOD SetAbbreviate(bool aAbbreviate) override { return _to SetAbbreviate(aAbbreviate); } \
  NS_IMETHOD GetSingleSignon(bool *aSingleSignon) override { return _to GetSingleSignon(aSingleSignon); } \
  NS_IMETHOD SetSingleSignon(bool aSingleSignon) override { return _to SetSingleSignon(aSingleSignon); } \
  NS_IMETHOD GetCharset(nsACString& aCharset) override { return _to GetCharset(aCharset); } \
  NS_IMETHOD SetCharset(const nsACString& aCharset) override { return _to SetCharset(aCharset); } \
  NS_IMETHOD AddNewsgroup(const nsAString& name) override { return _to AddNewsgroup(name); } \
  NS_IMETHOD RemoveNewsgroup(const nsAString& name) override { return _to RemoveNewsgroup(name); } \
  NS_IMETHOD WriteNewsrcFile(void) override { return _to WriteNewsrcFile(); } \
  NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged) override { return _to GetNewsrcHasChanged(aNewsrcHasChanged); } \
  NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged) override { return _to SetNewsrcHasChanged(aNewsrcHasChanged); } \
  NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) override { return _to GetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) override { return _to SetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, int32_t firstMessage, int32_t lastMessage, int32_t totalMessages) override { return _to DisplaySubscribedGroup(msgFolder, firstMessage, lastMessage, totalMessages); } \
  NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel **_retval) override { return _to GetNntpChannel(uri, window, _retval); } \
  NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer) override { return _to LoadNewsUrl(uri, window, consumer); } \
  NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection) override { return _to RemoveConnection(aNntpConnection); } \
  NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol * aNntpConnection) override { return _to PrepareForNextUrl(aNntpConnection); } \
  NS_IMETHOD ContainsNewsgroup(const nsACString& escapedName, bool *_retval) override { return _to ContainsNewsgroup(escapedName, _retval); } \
  NS_IMETHOD SubscribeToNewsgroup(const nsACString& name) override { return _to SubscribeToNewsgroup(name); } \
  NS_IMETHOD AddNewsgroupToList(const char * name) override { return _to AddNewsgroupToList(name); } \
  NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions) override { return _to GetSupportsExtensions(aSupportsExtensions); } \
  NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions) override { return _to SetSupportsExtensions(aSupportsExtensions); } \
  NS_IMETHOD AddExtension(const char * extension) override { return _to AddExtension(extension); } \
  NS_IMETHOD QueryExtension(const char * extension, bool *_retval) override { return _to QueryExtension(extension, _retval); } \
  NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed) override { return _to GetPostingAllowed(aPostingAllowed); } \
  NS_IMETHOD SetPostingAllowed(bool aPostingAllowed) override { return _to SetPostingAllowed(aPostingAllowed); } \
  NS_IMETHOD GetPushAuth(bool *aPushAuth) override { return _to GetPushAuth(aPushAuth); } \
  NS_IMETHOD SetPushAuth(bool aPushAuth) override { return _to SetPushAuth(aPushAuth); } \
  NS_IMETHOD GetLastUpdatedTime(uint32_t *aLastUpdatedTime) override { return _to GetLastUpdatedTime(aLastUpdatedTime); } \
  NS_IMETHOD SetLastUpdatedTime(uint32_t aLastUpdatedTime) override { return _to SetLastUpdatedTime(aLastUpdatedTime); } \
  NS_IMETHOD AddPropertyForGet(const char * name, const char * value) override { return _to AddPropertyForGet(name, value); } \
  NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval) override { return _to QueryPropertyForGet(name, _retval); } \
  NS_IMETHOD AddSearchableGroup(const nsAString& name) override { return _to AddSearchableGroup(name); } \
  NS_IMETHOD QuerySearchableGroup(const nsAString& name, bool *_retval) override { return _to QuerySearchableGroup(name, _retval); } \
  NS_IMETHOD AddSearchableHeader(const char * headerName) override { return _to AddSearchableHeader(headerName); } \
  NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval) override { return _to QuerySearchableHeader(headerName, _retval); } \
  NS_IMETHOD FindGroup(const nsACString& name, nsIMsgNewsFolder **_retval) override { return _to FindGroup(name, _retval); } \
  NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString& aFirstGroupNeedingExtraInfo) override { return _to GetFirstGroupNeedingExtraInfo(aFirstGroupNeedingExtraInfo); } \
  NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString& name, bool needsExtraInfo) override { return _to SetGroupNeedsExtraInfo(name, needsExtraInfo); } \
  NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString& group, bool opening) override { return _to GroupNotFound(window, group, opening); } \
  NS_IMETHOD SetPrettyNameForGroup(const nsAString& name, const nsAString& prettyName) override { return _to SetPrettyNameForGroup(name, prettyName); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINNTPINCOMINGSERVER(_to) \
  NS_IMETHOD GetNewsrcFilePath(nsIFile **aNewsrcFilePath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsrcFilePath(aNewsrcFilePath); } \
  NS_IMETHOD SetNewsrcFilePath(nsIFile *aNewsrcFilePath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNewsrcFilePath(aNewsrcFilePath); } \
  NS_IMETHOD GetNewsrcRootPath(nsIFile **aNewsrcRootPath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsrcRootPath(aNewsrcRootPath); } \
  NS_IMETHOD SetNewsrcRootPath(nsIFile *aNewsrcRootPath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNewsrcRootPath(aNewsrcRootPath); } \
  NS_IMETHOD GetNotifyOn(bool *aNotifyOn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotifyOn(aNotifyOn); } \
  NS_IMETHOD SetNotifyOn(bool aNotifyOn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotifyOn(aNotifyOn); } \
  NS_IMETHOD GetMaxArticles(int32_t *aMaxArticles) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxArticles(aMaxArticles); } \
  NS_IMETHOD SetMaxArticles(int32_t aMaxArticles) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxArticles(aMaxArticles); } \
  NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarkOldRead(aMarkOldRead); } \
  NS_IMETHOD SetMarkOldRead(bool aMarkOldRead) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarkOldRead(aMarkOldRead); } \
  NS_IMETHOD GetAbbreviate(bool *aAbbreviate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbbreviate(aAbbreviate); } \
  NS_IMETHOD SetAbbreviate(bool aAbbreviate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAbbreviate(aAbbreviate); } \
  NS_IMETHOD GetSingleSignon(bool *aSingleSignon) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSingleSignon(aSingleSignon); } \
  NS_IMETHOD SetSingleSignon(bool aSingleSignon) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSingleSignon(aSingleSignon); } \
  NS_IMETHOD GetCharset(nsACString& aCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharset(aCharset); } \
  NS_IMETHOD SetCharset(const nsACString& aCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharset(aCharset); } \
  NS_IMETHOD AddNewsgroup(const nsAString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNewsgroup(name); } \
  NS_IMETHOD RemoveNewsgroup(const nsAString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveNewsgroup(name); } \
  NS_IMETHOD WriteNewsrcFile(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->WriteNewsrcFile(); } \
  NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsrcHasChanged(aNewsrcHasChanged); } \
  NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNewsrcHasChanged(aNewsrcHasChanged); } \
  NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, int32_t firstMessage, int32_t lastMessage, int32_t totalMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplaySubscribedGroup(msgFolder, firstMessage, lastMessage, totalMessages); } \
  NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNntpChannel(uri, window, _retval); } \
  NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadNewsUrl(uri, window, consumer); } \
  NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveConnection(aNntpConnection); } \
  NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol * aNntpConnection) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PrepareForNextUrl(aNntpConnection); } \
  NS_IMETHOD ContainsNewsgroup(const nsACString& escapedName, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ContainsNewsgroup(escapedName, _retval); } \
  NS_IMETHOD SubscribeToNewsgroup(const nsACString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SubscribeToNewsgroup(name); } \
  NS_IMETHOD AddNewsgroupToList(const char * name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNewsgroupToList(name); } \
  NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsExtensions(aSupportsExtensions); } \
  NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSupportsExtensions(aSupportsExtensions); } \
  NS_IMETHOD AddExtension(const char * extension) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddExtension(extension); } \
  NS_IMETHOD QueryExtension(const char * extension, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryExtension(extension, _retval); } \
  NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostingAllowed(aPostingAllowed); } \
  NS_IMETHOD SetPostingAllowed(bool aPostingAllowed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostingAllowed(aPostingAllowed); } \
  NS_IMETHOD GetPushAuth(bool *aPushAuth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPushAuth(aPushAuth); } \
  NS_IMETHOD SetPushAuth(bool aPushAuth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPushAuth(aPushAuth); } \
  NS_IMETHOD GetLastUpdatedTime(uint32_t *aLastUpdatedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastUpdatedTime(aLastUpdatedTime); } \
  NS_IMETHOD SetLastUpdatedTime(uint32_t aLastUpdatedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLastUpdatedTime(aLastUpdatedTime); } \
  NS_IMETHOD AddPropertyForGet(const char * name, const char * value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddPropertyForGet(name, value); } \
  NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryPropertyForGet(name, _retval); } \
  NS_IMETHOD AddSearchableGroup(const nsAString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddSearchableGroup(name); } \
  NS_IMETHOD QuerySearchableGroup(const nsAString& name, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QuerySearchableGroup(name, _retval); } \
  NS_IMETHOD AddSearchableHeader(const char * headerName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddSearchableHeader(headerName); } \
  NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QuerySearchableHeader(headerName, _retval); } \
  NS_IMETHOD FindGroup(const nsACString& name, nsIMsgNewsFolder **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindGroup(name, _retval); } \
  NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString& aFirstGroupNeedingExtraInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstGroupNeedingExtraInfo(aFirstGroupNeedingExtraInfo); } \
  NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString& name, bool needsExtraInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGroupNeedsExtraInfo(name, needsExtraInfo); } \
  NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString& group, bool opening) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GroupNotFound(window, group, opening); } \
  NS_IMETHOD SetPrettyNameForGroup(const nsAString& name, const nsAString& prettyName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrettyNameForGroup(name, prettyName); } 


#endif /* __gen_nsINntpIncomingServer_h__ */