1 // Copyright 2009 The Archiveopteryx Developers <info@aox.org>
2 
3 #include "noop.h"
4 
5 #include "mailbox.h"
6 #include "imapsession.h"
7 
8 
9 /*! \class Noop noop.h
10     NOOP does nothing (RFC 3501 section 6.1.2)
11 
12     One might surmise that this function is a true noop, but it's not.
13     The side effects need to be handled somehow.
14 */
15 
execute()16 void Noop::execute()
17 {
18     finish();
19 }
20 
21 
22 
23 /*! \class Check noop.h
24 
25     Performs a checkpoint of the selected mailbox (RFC 3501 section
26     6.4.1), which is a noop for in all the implementations I know.
27 */
28 
execute()29 void Check::execute()
30 {
31     finish();
32 }
33