aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPRenameFolderOperation.cc
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-11-19 00:48:34 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-11-19 00:48:34 -0800
commite3c45123799d84b0ff85035db606cc36b8379427 (patch)
tree17b16bd16f57d097eae1458e8fa10943fb75e54c /src/async/imap/MCIMAPRenameFolderOperation.cc
parentb030d6139ba3f0eb39818ce6f9852e48db079feb (diff)
Renamed .cc files to .cpp (fixed #983)
Diffstat (limited to 'src/async/imap/MCIMAPRenameFolderOperation.cc')
-rw-r--r--src/async/imap/MCIMAPRenameFolderOperation.cc42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/async/imap/MCIMAPRenameFolderOperation.cc b/src/async/imap/MCIMAPRenameFolderOperation.cc
deleted file mode 100644
index 338e02a5..00000000
--- a/src/async/imap/MCIMAPRenameFolderOperation.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// MCIMAPRenameFolderOperation.cpp
-// mailcore2
-//
-// Created by DINH Viêt Hoà on 1/12/13.
-// Copyright (c) 2013 MailCore. All rights reserved.
-//
-
-#include "MCIMAPRenameFolderOperation.h"
-
-#include "MCIMAPSession.h"
-#include "MCIMAPAsyncConnection.h"
-
-using namespace mailcore;
-
-IMAPRenameFolderOperation::IMAPRenameFolderOperation()
-{
- mOtherName = NULL;
-}
-
-IMAPRenameFolderOperation::~IMAPRenameFolderOperation()
-{
- MC_SAFE_RELEASE(mOtherName);
-}
-
-void IMAPRenameFolderOperation::setOtherName(String * otherName)
-{
- MC_SAFE_REPLACE_COPY(String, mOtherName, otherName);
-}
-
-String * IMAPRenameFolderOperation::otherName()
-{
- return mOtherName;
-}
-
-void IMAPRenameFolderOperation::main()
-{
- ErrorCode error;
- session()->session()->renameFolder(folder(), mOtherName, &error);
- setError(error);
-}
-