aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/nntp/MCNNTPSession.h
diff options
context:
space:
mode:
authorGravatar CodaFi <devteam.codafi@gmail.com>2014-08-13 18:53:06 -0600
committerGravatar CodaFi <devteam.codafi@gmail.com>2014-08-13 18:53:06 -0600
commit9fdbf0688e3c8bc9ad94ff8b475ce534749f418d (patch)
tree38992ad8aa6569f34ed58a762a60d68fbcfab0a9 /src/core/nntp/MCNNTPSession.h
parent38d848cb9c8d64e910804b7b6d559a9a31d2ad99 (diff)
Cosmetic Changes; Fix header includes
Diffstat (limited to 'src/core/nntp/MCNNTPSession.h')
-rw-r--r--src/core/nntp/MCNNTPSession.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/nntp/MCNNTPSession.h b/src/core/nntp/MCNNTPSession.h
index ac290679..6f8bf73a 100644
--- a/src/core/nntp/MCNNTPSession.h
+++ b/src/core/nntp/MCNNTPSession.h
@@ -51,15 +51,14 @@ namespace mailcore {
virtual MessageHeader * fetchHeader(unsigned int index, ErrorCode * pError);
virtual MessageHeader * fetchHeader(NNTPMessageInfo * msg, ErrorCode * pError);
- virtual Array * /* NNTPMessageInfo */ fetchMessages(String * groupname, ErrorCode * pError);
+ virtual Array * /* NNTPMessageInfo */ fetchArticles(String * groupname, ErrorCode * pError);
- Data * fetchMessage(unsigned int index, NNTPProgressCallback * callback, ErrorCode * pError);
- Data * fetchMessage(NNTPMessageInfo * msg, NNTPProgressCallback * callback, ErrorCode * pError);
+ Data * fetchArticle(String *groupName, unsigned int index, NNTPProgressCallback * callback, ErrorCode * pError);
+ Data * fetchArticle(String *groupName, NNTPMessageInfo * msg, NNTPProgressCallback * callback, ErrorCode * pError);
virtual void setConnectionLogger(ConnectionLogger * logger);
virtual ConnectionLogger * connectionLogger();
- virtual void select(String * folder, ErrorCode * pError);
private:
String * mHostname;
unsigned int mPort;
@@ -82,6 +81,7 @@ namespace mailcore {
void loginIfNeeded(ErrorCode * pError);
void readerIfNeeded(ErrorCode * pError);
void listIfNeeded(ErrorCode * pError);
+ void selectGroup(String * folder, ErrorCode * pError);
};
}