blob: 070eeaae17430ec0f68d4e4b7fdcfcfdf475cdd5 (
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
|
//
// MCIMAPDisconnectOperation.cc
// mailcore2
//
// Created by DINH Viêt Hoà on 6/22/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#include "MCIMAPDisconnectOperation.h"
#include "MCIMAPAsyncConnection.h"
#include "MCIMAPSession.h"
using namespace mailcore;
IMAPDisconnectOperation::IMAPDisconnectOperation()
{
}
IMAPDisconnectOperation::~IMAPDisconnectOperation()
{
}
void IMAPDisconnectOperation::main()
{
session()->session()->disconnect();
setError(ErrorCode::ErrorNone);
}
|