/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsINNTPNewsgroupList.idl
 */

#ifndef __gen_nsINNTPNewsgroupList_h__
#define __gen_nsINNTPNewsgroupList_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 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); */
  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); */
  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); */
  NS_IMETHOD AddToKnownArticles(int32_t first_message, int32_t last_message) = 0;

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

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

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

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

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

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

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

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

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

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

  /* attribute boolean getOldMessages; */
  NS_IMETHOD GetGetOldMessages(bool *aGetOldMessages) = 0;
  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 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); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsNNTPNewsgroupList : public nsINNTPNewsgroupList
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINNTPNEWSGROUPLIST

  nsNNTPNewsgroupList();

private:
  ~nsNNTPNewsgroupList();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsNNTPNewsgroupList, nsINNTPNewsgroupList)

nsNNTPNewsgroupList::nsNNTPNewsgroupList()
{
  /* member initializers and constructor code */
}

nsNNTPNewsgroupList::~nsNNTPNewsgroupList()
{
  /* destructor code */
}

/* void initialize (in nsINntpUrl runningURL, in nsIMsgNewsFolder newsFolder); */
NS_IMETHODIMP nsNNTPNewsgroupList::Initialize(nsINntpUrl *runningURL, nsIMsgNewsFolder *newsFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* 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); */
NS_IMETHODIMP nsNNTPNewsgroupList::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)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addToKnownArticles (in long first_message, in long last_message); */
NS_IMETHODIMP nsNNTPNewsgroupList::AddToKnownArticles(int32_t first_message, int32_t last_message)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void initXOVER (in long first_message, in long last_message); */
NS_IMETHODIMP nsNNTPNewsgroupList::InitXOVER(int32_t first_message, int32_t last_message)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void processXOVERLINE (in string line, out unsigned long status); */
NS_IMETHODIMP nsNNTPNewsgroupList::ProcessXOVERLINE(const char * line, uint32_t *status)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void resetXOVER (); */
NS_IMETHODIMP nsNNTPNewsgroupList::ResetXOVER()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void finishXOVERLINE (in long status, out long newstatus); */
NS_IMETHODIMP nsNNTPNewsgroupList::FinishXOVERLINE(int32_t status, int32_t *newstatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString initXHDR (); */
NS_IMETHODIMP nsNNTPNewsgroupList::InitXHDR(nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void processXHDRLine (in ACString aLine); */
NS_IMETHODIMP nsNNTPNewsgroupList::ProcessXHDRLine(const nsACString & aLine)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void initHEAD (in long aMessage); */
NS_IMETHODIMP nsNNTPNewsgroupList::InitHEAD(int32_t aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void processHEADLine (in ACString aLine); */
NS_IMETHODIMP nsNNTPNewsgroupList::ProcessHEADLine(const nsACString & aLine)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void HEADFailed (in long aMessage); */
NS_IMETHODIMP nsNNTPNewsgroupList::HEADFailed(int32_t aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void callFilters (); */
NS_IMETHODIMP nsNNTPNewsgroupList::CallFilters()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean getOldMessages; */
NS_IMETHODIMP nsNNTPNewsgroupList::GetGetOldMessages(bool *aGetOldMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNNTPNewsgroupList::SetGetOldMessages(bool aGetOldMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsINNTPNewsgroupList_h__ */
