aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/pop/MCPOPCheckAccountOperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/async/pop/MCPOPCheckAccountOperation.cpp')
-rw-r--r--src/async/pop/MCPOPCheckAccountOperation.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/async/pop/MCPOPCheckAccountOperation.cpp b/src/async/pop/MCPOPCheckAccountOperation.cpp
new file mode 100644
index 00000000..f83cd740
--- /dev/null
+++ b/src/async/pop/MCPOPCheckAccountOperation.cpp
@@ -0,0 +1,30 @@
+//
+// MCPOPCheckAccountOperation.cpp
+// mailcore2
+//
+// Created by DINH Viêt Hoà on 4/6/13.
+// Copyright (c) 2013 MailCore. All rights reserved.
+//
+
+#include "MCPOPCheckAccountOperation.h"
+
+#include "MCPOPAsyncSession.h"
+#include "MCPOPSession.h"
+
+using namespace mailcore;
+
+POPCheckAccountOperation::POPCheckAccountOperation()
+{
+}
+
+POPCheckAccountOperation::~POPCheckAccountOperation()
+{
+}
+
+void POPCheckAccountOperation::main()
+{
+ ErrorCode error;
+
+ session()->session()->checkAccount(&error);
+ setError(error);
+}