aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/nntp/MCNNTPFetchOverviewOperation.h
blob: bf8db26feb599afdd4fa0c9d2a3783f242fa2afe (plain)
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
//
//  NNTPFetchOverviewOperation.h
//  mailcore2
//
//  Created by Robert Widmann on 10/21/14.
//  Copyright (c) 2014 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCNNTPFETCHOVERVIEWOPERATION_H

#define MAILCORE_MCNNTPFETCHOVERVIEWOPERATION_H

#include <MailCore/MCNNTPOperation.h>

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT NNTPFetchOverviewOperation : public NNTPOperation {
    public:
        NNTPFetchOverviewOperation();
        virtual ~NNTPFetchOverviewOperation();
        
        virtual void setIndexes(IndexSet * indexes);
        virtual IndexSet * indexes();
        
        virtual void setGroupName(String * groupName);
        virtual String * groupName();
        
        virtual Array * articles();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        IndexSet * mIndexes;
        String * mGroupName;
        Array * /* MessageHeader */ mArticles;
    };
    
}

#endif

#endif