diff options
Diffstat (limited to 'src/operator-subscribe.cc')
-rw-r--r-- | src/operator-subscribe.cc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/operator-subscribe.cc b/src/operator-subscribe.cc index 7626844..2a7ca51 100644 --- a/src/operator-subscribe.cc +++ b/src/operator-subscribe.cc @@ -1,9 +1,10 @@ -/** -------------------------------------------------------------------- +/** * @file operator-subscribe.cc * @brief Implementation of the SUBSCRIBE command. * @author Andreas Aardal Hanssen * @date 2002-2005 - * ----------------------------------------------------------------- **/ + */ + #include "convert.h" #include "depot.h" #include "operators.h" @@ -15,28 +16,23 @@ #include <sys/stat.h> -using namespace ::std; using namespace Binc; +using std::string; -//---------------------------------------------------------------------- SubscribeOperator::SubscribeOperator(void) {} -//---------------------------------------------------------------------- SubscribeOperator::~SubscribeOperator(void) {} -//---------------------------------------------------------------------- const string SubscribeOperator::getName(void) const { return "SUBSCRIBE"; } -//---------------------------------------------------------------------- int SubscribeOperator::getState(void) const { return Session::AUTHENTICATED | Session::SELECTED; } -//------------------------------------------------------------------------ Operator::ProcessResult SubscribeOperator::process(Depot &depot, Request &command) { const string &srcmailbox = command.getMailbox(); @@ -49,7 +45,6 @@ Operator::ProcessResult SubscribeOperator::process(Depot &depot, Request &comman return OK; } -//---------------------------------------------------------------------- Operator::ParseResult SubscribeOperator::parse(Request &c_in) const { Session &session = Session::getInstance(); |