update to reflect renaming nsIMsgNewsgroup -> nsINNTPNewsgroup
git-svn-id: svn://10.0.0.236/trunk@17891 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -31,7 +31,7 @@ class nsNNTPArticleList
|
||||
{
|
||||
public:
|
||||
nsNNTPArticleList(const nsINNTPHost * newshost,
|
||||
const nsIMsgNewsgroup* newsgroup);
|
||||
const nsINNTPNewsgroup* newsgroup);
|
||||
/* , MSG_Pane *pane); */
|
||||
virtual ~nsNNTPArticleList();
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
// nsINNTPArticleKeysState
|
||||
NS_METHOD Initialize(const nsINNTPHost *newsHost,
|
||||
const nsIMsgNewsgroup *newsgroup);
|
||||
const nsINNTPNewsgroup *newsgroup);
|
||||
NS_IMETHOD AddArticleKey(PRInt32 key);
|
||||
NS_IMETHOD FinishAddingArticleKeys();
|
||||
|
||||
@@ -50,7 +50,7 @@ protected:
|
||||
MSG_Pane *m_pane;
|
||||
#endif
|
||||
/* formerly m_groupName */
|
||||
nsIMsgNewsgroup *m_newsgroup;
|
||||
nsINNTPNewsgroup *m_newsgroup;
|
||||
nsINNTPHost *m_host;
|
||||
#ifdef HAVE_NEWSDB
|
||||
NewsGroupDB *m_newsDB;
|
||||
@@ -66,7 +66,7 @@ protected:
|
||||
};
|
||||
|
||||
nsNNTPArticleList::nsNNTPArticleList(const nsINNTPHost* newsHost,
|
||||
const nsIMsgNewsgroup* newsgroup)
|
||||
const nsINNTPNewsgroup* newsgroup)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
Initialize(newsHost, newsgroup);
|
||||
@@ -74,7 +74,7 @@ nsNNTPArticleList::nsNNTPArticleList(const nsINNTPHost* newsHost,
|
||||
|
||||
nsresult
|
||||
nsNNTPArticleList::Initialize(const nsINNTPHost * newsHost,
|
||||
const nsIMsgNewsgroup* newsgroup)
|
||||
const nsINNTPNewsgroup* newsgroup)
|
||||
{
|
||||
m_host = newsHost;
|
||||
m_newsgroup = newsgroup;
|
||||
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
|
||||
// nsIMsgNewsArticleList
|
||||
// nsINNTPArticleList
|
||||
NS_IMETHOD GetRangeOfArtsToDownload(nsINNTPHost* host,
|
||||
const char* group_name,
|
||||
PRInt32 first_possible,
|
||||
@@ -729,7 +729,7 @@ nsNNTPNewsgroupList::FinishXOVER (int status)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
nsIMsgNewsgroup *newsFolder = NULL;
|
||||
nsINNTPNewsgroup *newsFolder = NULL;
|
||||
#ifdef HAVE_PANES
|
||||
newsFolder = (m_pane) ? savePane->GetMaster()->FindNewsFolder(m_host, m_groupName, PR_FALSE) : 0;
|
||||
FE_PaneChanged(m_pane, PR_FALSE, MSG_PaneNotifyFolderLoaded, (PRUint32)newsFolder);
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "nsINNTPHost.h"
|
||||
#include "nsINNTPNewsgroupList.h"
|
||||
#include "nsINNTPNewsgroup.h"
|
||||
|
||||
#include "nsNNTPArticleSet.h"
|
||||
|
||||
@@ -56,6 +57,6 @@ typedef struct MSG_NewsKnown {
|
||||
extern NS_COM nsresult
|
||||
NS_NewNewsgroupList(nsINNTPNewsgroupList **aInstancePtrResult,
|
||||
nsINNTPHost *newsHost,
|
||||
nsIMsgNewsgroup *newsgroup);
|
||||
nsINNTPNewsgroup *newsgroup);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -849,7 +849,7 @@ PRInt32 nsNNTPProtocol::SendFirstNNTPCommand(nsIURL * url)
|
||||
PRUint32 number = 0;
|
||||
|
||||
nsresult rv;
|
||||
nsIMsgNewsgroup *newsgroup;
|
||||
nsINNTPNewsgroup *newsgroup;
|
||||
rv = m_newsHost->GetNewsGroupAndNumberOfID(m_path, &newsgroup, &number);
|
||||
if (NS_SUCCEEDED(rv) && newsgroup && number)
|
||||
{
|
||||
@@ -3083,7 +3083,7 @@ PRInt32 nsNNTPProtocol::ListXActiveResponse(nsIInputStream * inputStream, PRUint
|
||||
if (m_typeWanted == NEW_GROUPS &&
|
||||
NS_SUCCEEDED(rv) && xactive)
|
||||
{
|
||||
nsIMsgNewsgroup* old_newsgroup = m_newsgroup;
|
||||
nsINNTPNewsgroup* old_newsgroup = m_newsgroup;
|
||||
m_newsHost->GetFirstGroupNeedingExtraInfo(&m_newsgroup);
|
||||
if (old_newsgroup && m_newsgroup &&
|
||||
old_newsgroup != m_newsgroup)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "nsINNTPNewsgroupList.h"
|
||||
#include "nsINNTPArticleList.h"
|
||||
#include "nsINNTPHost.h"
|
||||
#include "nsIMsgNewsgroup.h"
|
||||
#include "nsINNTPNewsgroup.h"
|
||||
#include "nsIMsgOfflineNewsState.h"
|
||||
|
||||
|
||||
@@ -177,7 +177,7 @@ private:
|
||||
nsINNTPArticleList * m_articleList;
|
||||
|
||||
nsINNTPHost * m_newsHost;
|
||||
nsIMsgNewsgroup * m_newsgroup;
|
||||
nsINNTPNewsgroup * m_newsgroup;
|
||||
nsIMsgOfflineNewsState * m_offlineNewsState;
|
||||
|
||||
// Ouput stream for writing commands to the socket
|
||||
|
||||
Reference in New Issue
Block a user