+++ /dev/null
-#ifndef _commandthread_\r
-#define _commandthread_\r
-\r
-#include "ilogger.h"\r
-#include "idatabase.h"\r
-\r
-//#include <zthread/Thread.h>\r
-#include "pthreadwrapper/runnable.h"\r
-\r
-class CommandThread:public PThread::Runnable,public ILogger, public IDatabase\r
-{\r
-public:\r
-\r
- void Run();\r
-\r
-private:\r
-\r
- void HandleInput(const std::string &input);\r
- \r
- // methods to handle commands\r
- void HandleHelpCommand();\r
- void HandleQuit();\r
- \r
- bool m_running;\r
-\r
-};\r
-\r
-#endif // _commandthread_\r