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

#ifndef MAILCORE_MCNNTPFETCHSERVERTIMEOPERATION_H

#define MAILCORE_MCNNTPFETCHSERVERTIMEOPERATION_H

#include <MailCore/MCNNTPOperation.h>

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT NNTPFetchServerTimeOperation : public NNTPOperation {
    public:
        NNTPFetchServerTimeOperation();
        virtual ~NNTPFetchServerTimeOperation();
        
        virtual time_t time();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        time_t mTime;
    };
    
}

#endif

#endif