diff options
Diffstat (limited to 'src/async/imap/MCIMAPRenameFolderOperation.cc')
-rw-r--r-- | src/async/imap/MCIMAPRenameFolderOperation.cc | 42 |
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); -} - |