src/commands/Cmd_accounts.h

00001 #ifndef CMD_ACCOUNTS_H
00002 #define CMD_ACCOUNTS_H
00003 
00004 #include "ICommandServer.h"
00005 #include "../cppsqlite3.h"
00006 
00010 class Cmd_accounts : public ICommandServer
00011 {
00012 public:
00013     Cmd_accounts(std::string& params, Server* server);
00014 
00015     virtual ~Cmd_accounts();
00016 
00017     void help();
00018 
00019     void execute();
00020 
00021 private:
00022 
00032     void showAccounts(Uint32 recordsPerPage = 0);
00033 
00049     void addAccount(const std::string& username = "",
00050                     const std::string& password = "",
00051                     const std::string& name = "",
00052                     const std::string& surname = "",
00053                     const std::string& email = "");
00054 
00062     void attachChar();
00063 
00064     CppSQLite3DB myAccDb;  
00065 };
00066 
00067 
00068 
00069 #endif // CMD_ACCOUNTS_H

Generated on Mon Dec 3 04:30:12 2007 for lo-testserver by  doxygen 1.3.9.1