summaryrefslogtreecommitdiff
path: root/src/operator-noop-pending.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/operator-noop-pending.cc')
-rw-r--r--src/operator-noop-pending.cc30
1 files changed, 12 insertions, 18 deletions
diff --git a/src/operator-noop-pending.cc b/src/operator-noop-pending.cc
index f98405e..96b255a 100644
--- a/src/operator-noop-pending.cc
+++ b/src/operator-noop-pending.cc
@@ -4,40 +4,34 @@
* @author Andreas Aardal Hanssen
* @date 2002-2005
* ----------------------------------------------------------------- **/
-#include <string>
-#include <iostream>
-
+#include "depot.h"
#include "mailbox.h"
+#include "operators.h"
#include "pendingupdates.h"
-
#include "recursivedescent.h"
#include "session.h"
-#include "depot.h"
-#include "operators.h"
+
+#include <iostream>
+#include <string>
using namespace ::std;
using namespace Binc;
//----------------------------------------------------------------------
-NoopPendingOperator::NoopPendingOperator(void) : NoopOperator()
-{
-}
+NoopPendingOperator::NoopPendingOperator(void) : NoopOperator() {}
//----------------------------------------------------------------------
-NoopPendingOperator::~NoopPendingOperator(void)
-{
-}
+NoopPendingOperator::~NoopPendingOperator(void) {}
//----------------------------------------------------------------------
-Operator::ProcessResult NoopPendingOperator::process(Depot &depot,
- Request &command)
+Operator::ProcessResult NoopPendingOperator::process(Depot &depot, Request &command)
{
Mailbox *mailbox = depot.getSelected();
if (mailbox) {
- pendingUpdates(mailbox, PendingUpdates::EXPUNGE
- | PendingUpdates::EXISTS
- | PendingUpdates::RECENT
- | PendingUpdates::FLAGS, true);
+ pendingUpdates(mailbox,
+ PendingUpdates::EXPUNGE | PendingUpdates::EXISTS | PendingUpdates::RECENT
+ | PendingUpdates::FLAGS,
+ true);
}
return OK;