aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/provider/MCMXRecordResolverOperation.h
blob: 7d8a6fc8fc031d0af422361abcc94ad1aa92eadb (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
//
//  ResolveProviderUsingMXRecordAsync.h
//  mailcore2
//
//  Created by Christopher Hockley on 29/01/15.
//  Copyright (c) 2015 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCFETCHASYNCMXRECORD_H

#define MAILCORE_MCFETCHASYNCMXRECORD_H

#include <MailCore/MCBaseTypes.h>
#include <MailCore/MCMessageConstants.h>

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT MXRecordResolverOperation : public Operation {
    public:
        MXRecordResolverOperation();
        virtual ~MXRecordResolverOperation();
        
        virtual void setHostname(String * hostname);
        virtual String * hostname();
        
        virtual Array * mxRecords();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        Array * mMXRecords;
        String * mHostname;
    };
}

#endif

#endif