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

#ifndef __gen_nsINNTPNewsgroupList_h__
#define __gen_nsINNTPNewsgroupList_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 nsIMsgNewsFolder; /* forward declaration */

class nsINntpUrl; /* forward declaration */

class nsIMsgWindow; /* forward declaration */


/* starting interface:    nsINNTPNewsgroupList */
#define NS_INNTPNEWSGROUPLIST_IID_STR "579aa17b-4c77-465d-8eb6-feaa927cb19c"

#define NS_INNTPNEWSGROUPLIST_IID \
  {0x579aa17b, 0x4c77, 0x465d, \
    { 0x8e, 0xb6, 0xfe, 0xaa, 0x92, 0x7c, 0xb1, 0x9c }}

class NS_NO_VTABLE nsINNTPNewsgroupList : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INNTPNEWSGROUPLIST_IID)

  /* void initialize (in nsINntpUrl runningURL, in nsIMsgNewsFolder newsFolder); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) = 0;

  /* long getRangeOfArtsToDownload (in nsIMsgWindow aMsgWindow, in long first_message, in long last_message, in long maxextra, out long real_first_message, out long real_last_message); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) = 0;

  /* void addToKnownArticles (in long first_message, in long last_message); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) = 0;

  /* void initXOVER (in long first_message, in long last_message); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) = 0;

  /* void processXOVERLINE (in string line, out unsigned long status); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) = 0;

  /* void resetXOVER (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ResetXOVER(void) = 0;

  /* void finishXOVERLINE (in long status, out long newstatus); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) = 0;

  /* ACString initXHDR (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD InitXHDR(nsACString& _retval) = 0;

  /* void processXHDRLine (in ACString aLine); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ProcessXHDRLine(const nsACString& aLine) = 0;

  /* void initHEAD (in long aMessage); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD InitHEAD(int32_t aMessage) = 0;

  /* void processHEADLine (in ACString aLine); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ProcessHEADLine(const nsACString& aLine) = 0;

  /* void HEADFailed (in long aMessage); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD HEADFailed(int32_t aMessage) = 0;

  /* void callFilters (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CallFilters(void) = 0;

  /* attribute boolean getOldMessages; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINNTPNewsgroupList, NS_INNTPNEWSGROUPLIST_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINNTPNEWSGROUPLIST \
  NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) override; \
  NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) override; \
  NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) override; \
  NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) override; \
  NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) override; \
  NS_IMETHOD ResetXOVER(void) override; \
  NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) override; \
  NS_IMETHOD InitXHDR(nsACString& _retval) override; \
  NS_IMETHOD ProcessXHDRLine(const nsACString& aLine) override; \
  NS_IMETHOD InitHEAD(int32_t aMessage) override; \
  NS_IMETHOD ProcessHEADLine(const nsACString& aLine) override; \
  NS_IMETHOD HEADFailed(int32_t aMessage) override; \
  NS_IMETHOD CallFilters(void) override; \
  NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) override; \
  NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) 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_NSINNTPNEWSGROUPLIST \
  nsresult Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder); \
  nsresult GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval); \
  nsresult AddToKnownArticles(int32_t first_message, int32_t last_message); \
  nsresult InitXOVER(int32_t first_message, int32_t last_message); \
  nsresult ProcessXOVERLINE(const char * line, uint32_t *status); \
  nsresult ResetXOVER(void); \
  nsresult FinishXOVERLINE(int32_t status, int32_t *newstatus); \
  nsresult InitXHDR(nsACString& _retval); \
  nsresult ProcessXHDRLine(const nsACString& aLine); \
  nsresult InitHEAD(int32_t aMessage); \
  nsresult ProcessHEADLine(const nsACString& aLine); \
  nsresult HEADFailed(int32_t aMessage); \
  nsresult CallFilters(void); \
  nsresult GetGetOldMessages(bool *aGetOldMessages); \
  nsresult SetGetOldMessages(bool aGetOldMessages); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINNTPNEWSGROUPLIST(_to) \
  NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) override { return _to Initialize(runningURL, newsFolder); } \
  NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) override { return _to GetRangeOfArtsToDownload(aMsgWindow, first_message, last_message, maxextra, real_first_message, real_last_message, _retval); } \
  NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) override { return _to AddToKnownArticles(first_message, last_message); } \
  NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) override { return _to InitXOVER(first_message, last_message); } \
  NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) override { return _to ProcessXOVERLINE(line, status); } \
  NS_IMETHOD ResetXOVER(void) override { return _to ResetXOVER(); } \
  NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) override { return _to FinishXOVERLINE(status, newstatus); } \
  NS_IMETHOD InitXHDR(nsACString& _retval) override { return _to InitXHDR(_retval); } \
  NS_IMETHOD ProcessXHDRLine(const nsACString& aLine) override { return _to ProcessXHDRLine(aLine); } \
  NS_IMETHOD InitHEAD(int32_t aMessage) override { return _to InitHEAD(aMessage); } \
  NS_IMETHOD ProcessHEADLine(const nsACString& aLine) override { return _to ProcessHEADLine(aLine); } \
  NS_IMETHOD HEADFailed(int32_t aMessage) override { return _to HEADFailed(aMessage); } \
  NS_IMETHOD CallFilters(void) override { return _to CallFilters(); } \
  NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) override { return _to GetGetOldMessages(aGetOldMessages); } \
  NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) override { return _to SetGetOldMessages(aGetOldMessages); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINNTPNEWSGROUPLIST(_to) \
  NS_IMETHOD Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(runningURL, newsFolder); } \
  NS_IMETHOD GetRangeOfArtsToDownload(nsIMsgWindow *aMsgWindow, int32_t first_message, int32_t last_message, int32_t maxextra, int32_t *real_first_message, int32_t *real_last_message, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeOfArtsToDownload(aMsgWindow, first_message, last_message, maxextra, real_first_message, real_last_message, _retval); } \
  NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddToKnownArticles(first_message, last_message); } \
  NS_IMETHOD InitXOVER(int32_t first_message, int32_t last_message) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitXOVER(first_message, last_message); } \
  NS_IMETHOD ProcessXOVERLINE(const char * line, uint32_t *status) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessXOVERLINE(line, status); } \
  NS_IMETHOD ResetXOVER(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetXOVER(); } \
  NS_IMETHOD FinishXOVERLINE(int32_t status, int32_t *newstatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FinishXOVERLINE(status, newstatus); } \
  NS_IMETHOD InitXHDR(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitXHDR(_retval); } \
  NS_IMETHOD ProcessXHDRLine(const nsACString& aLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessXHDRLine(aLine); } \
  NS_IMETHOD InitHEAD(int32_t aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitHEAD(aMessage); } \
  NS_IMETHOD ProcessHEADLine(const nsACString& aLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessHEADLine(aLine); } \
  NS_IMETHOD HEADFailed(int32_t aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HEADFailed(aMessage); } \
  NS_IMETHOD CallFilters(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CallFilters(); } \
  NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGetOldMessages(aGetOldMessages); } \
  NS_IMETHOD SetGetOldMessages(bool aGetOldMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGetOldMessages(aGetOldMessages); } 


#endif /* __gen_nsINNTPNewsgroupList_h__ */