diff options
author | Robert Widmann <devteam.codafi@gmail.com> | 2014-10-21 15:45:59 -0600 |
---|---|---|
committer | Robert Widmann <devteam.codafi@gmail.com> | 2014-10-21 15:45:59 -0600 |
commit | f60b89b388389ee877e907819442b2e366238040 (patch) | |
tree | 01402421d202387e011acb5f53b9e6e05a6c0aeb /src/core/nntp/MCNNTPSession.h | |
parent | 5380d0d5b11eef9a6fb5ac4ba70cb1b27737562e (diff) |
Range Fetching
Diffstat (limited to 'src/core/nntp/MCNNTPSession.h')
-rw-r--r-- | src/core/nntp/MCNNTPSession.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/nntp/MCNNTPSession.h b/src/core/nntp/MCNNTPSession.h index a6fb511c..47d78a46 100644 --- a/src/core/nntp/MCNNTPSession.h +++ b/src/core/nntp/MCNNTPSession.h @@ -48,8 +48,10 @@ namespace mailcore { virtual Array * listSubscribedNewsgroups(ErrorCode * pError); virtual MessageHeader * fetchHeader(String *groupName, unsigned int index, ErrorCode * pError); - - virtual IndexSet * fetchArticles(String * groupname, ErrorCode * pError); + + virtual IndexSet * fetchAllArticles(String * groupname, ErrorCode * pError); + + virtual Array * fetchOverArticlesInRange(Range range, String * groupname, ErrorCode * pError); Data * fetchArticle(String *groupName, unsigned int index, NNTPProgressCallback * callback, ErrorCode * pError); |