summaryrefslogtreecommitdiff
path: root/src/operator-create.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/operator-create.cc')
-rw-r--r--src/operator-create.cc21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/operator-create.cc b/src/operator-create.cc
index 409b73f..83c5e1d 100644
--- a/src/operator-create.cc
+++ b/src/operator-create.cc
@@ -2,30 +2,26 @@
* @file bincimapd-create.cc
* @brief Implementation of the CREATE command.
* @author Andreas Aardal Hanssen
- * @date 2002-2005
+ * @date 2002-2005
* ----------------------------------------------------------------- **/
-#include <string>
-
+#include "convert.h"
#include "depot.h"
+#include "imapparser.h"
#include "mailbox.h"
#include "operators.h"
-#include "imapparser.h"
#include "recursivedescent.h"
#include "session.h"
-#include "convert.h"
+
+#include <string>
using namespace ::std;
using namespace Binc;
//----------------------------------------------------------------------
-CreateOperator::CreateOperator(void)
-{
-}
+CreateOperator::CreateOperator(void) {}
//----------------------------------------------------------------------
-CreateOperator::~CreateOperator(void)
-{
-}
+CreateOperator::~CreateOperator(void) {}
//----------------------------------------------------------------------
const string CreateOperator::getName(void) const
@@ -40,8 +36,7 @@ int CreateOperator::getState(void) const
}
//------------------------------------------------------------------------
-Operator::ProcessResult CreateOperator::process(Depot &depot,
- Request &command)
+Operator::ProcessResult CreateOperator::process(Depot &depot, Request &command)
{
if (depot.createMailbox(command.getMailbox()))
return OK;