1 #ifndef _commandthread_
\r
2 #define _commandthread_
\r
5 #include "idatabase.h"
\r
7 //#include <zthread/Thread.h>
\r
8 #include "pthreadwrapper/runnable.h"
\r
10 class CommandThread:public PThread::Runnable,public ILogger, public IDatabase
\r
18 void HandleInput(const std::string &input);
\r
20 // methods to handle commands
\r
21 void HandleHelpCommand();
\r
28 #endif // _commandthread_
\r