diff options
Diffstat (limited to 'src/operator-expunge.cc')
-rw-r--r-- | src/operator-expunge.cc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/operator-expunge.cc b/src/operator-expunge.cc index 03fd655..2416417 100644 --- a/src/operator-expunge.cc +++ b/src/operator-expunge.cc @@ -1,9 +1,10 @@ -/** -------------------------------------------------------------------- +/** * @file operator-expunge.cc * @brief Implementation of the EXPUNGE command * @author Andreas Aardal Hanssen * @date 2002-2005 - * ----------------------------------------------------------------- **/ + */ + #include "depot.h" #include "imapparser.h" #include "mailbox.h" @@ -14,28 +15,22 @@ #include <string> -using namespace ::std; using namespace Binc; -//---------------------------------------------------------------------- ExpungeOperator::ExpungeOperator(void) {} -//---------------------------------------------------------------------- ExpungeOperator::~ExpungeOperator(void) {} -//---------------------------------------------------------------------- -const string ExpungeOperator::getName(void) const +const std::string ExpungeOperator::getName(void) const { return "EXPUNGE"; } -//---------------------------------------------------------------------- int ExpungeOperator::getState(void) const { return Session::SELECTED; } -//---------------------------------------------------------------------- Operator::ProcessResult ExpungeOperator::process(Depot &depot, Request &command) { Mailbox *mailbox = depot.getSelected(); @@ -49,7 +44,6 @@ Operator::ProcessResult ExpungeOperator::process(Depot &depot, Request &command) return OK; } -//---------------------------------------------------------------------- Operator::ParseResult ExpungeOperator::parse(Request &c_in) const { Session &session = Session::getInstance(); |