diff options
Diffstat (limited to 'src/include/session.h')
-rw-r--r-- | src/include/session.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/include/session.h b/src/include/session.h index 94825cd..ee96613 100644 --- a/src/include/session.h +++ b/src/include/session.h @@ -6,17 +6,18 @@ * ----------------------------------------------------------------- **/ #ifndef session_h_included #define session_h_included +#include "argparser.h" + +#include <map> #include <string> #include <vector> -#include <map> -#include <sys/types.h> -#include "argparser.h" +#include <sys/types.h> namespace Binc { class Depot; - + //-------------------------------------------------------------------- class Session { public: @@ -32,12 +33,7 @@ namespace Binc { bool mailboxchanges; - enum State { - NONAUTHENTICATED = 0x01, - AUTHENTICATED = 0x02, - SELECTED = 0x04, - LOGOUT = 0x00 - }; + enum State { NONAUTHENTICATED = 0x01, AUTHENTICATED = 0x02, SELECTED = 0x04, LOGOUT = 0x00 }; CommandLineArgs args; @@ -49,7 +45,7 @@ namespace Binc { const int getState(void) const; void setState(int n); - bool parseCommandLine(int argc, char * argv[]); + bool parseCommandLine(int argc, char *argv[]); void assignCommandLineArgs(void); int getWriteBytes(void) const; int getReadBytes(void) const; |