aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/nntp/MCNNTPCheckAccountOperation.cpp
blob: 29b050f0ce09a6aeadc3ed665f0031759582fb3c (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
//
//  MCNNTPCheckAccountOperation.cpp
//  mailcore2
//
//  Created by Robert Widmann on 8/13/14.
//  Copyright (c) 2014 MailCore. All rights reserved.
//

#include "MCNNTPCheckAccountOperation.h"

#include "MCNNTPAsyncSession.h"
#include "MCNNTPSession.h"

using namespace mailcore;

NNTPCheckAccountOperation::NNTPCheckAccountOperation()
{
}

NNTPCheckAccountOperation::~NNTPCheckAccountOperation()
{
}

void NNTPCheckAccountOperation::main()
{
    ErrorCode error;
    
    session()->session()->checkAccount(&error);
    setError(error);
}