diff options
Diffstat (limited to 'src/operator-rename.cc')
-rw-r--r-- | src/operator-rename.cc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/operator-rename.cc b/src/operator-rename.cc index bfbe226..1d3a69a 100644 --- a/src/operator-rename.cc +++ b/src/operator-rename.cc @@ -1,7 +1,8 @@ -/** -------------------------------------------------------------------- +/** * @file operator-rename.cc * @brief Implementation of the RENAME command. - * ----------------------------------------------------------------- **/ + */ + #include "convert.h" #include "depot.h" #include "mailbox.h" @@ -16,28 +17,23 @@ #include <sys/stat.h> #include <sys/types.h> -using namespace ::std; using namespace Binc; +using std::string; -//---------------------------------------------------------------------- RenameOperator::RenameOperator(void) {} -//---------------------------------------------------------------------- RenameOperator::~RenameOperator(void) {} -//---------------------------------------------------------------------- const string RenameOperator::getName(void) const { return "RENAME"; } -//---------------------------------------------------------------------- int RenameOperator::getState(void) const { return Session::AUTHENTICATED | Session::SELECTED; } -//------------------------------------------------------------------------ Operator::ProcessResult RenameOperator::process(Depot &depot, Request &command) { Session &session = Session::getInstance(); @@ -66,7 +62,6 @@ Operator::ProcessResult RenameOperator::process(Depot &depot, Request &command) return NO; } -//---------------------------------------------------------------------- Operator::ParseResult RenameOperator::parse(Request &c_in) const { Session &session = Session::getInstance(); |