Commit 0174c3ec authored by Pavel Vainerman's avatar Pavel Vainerman

Небольшие правки форматирования

parent 60d5661c
...@@ -10,12 +10,12 @@ namespace LogServerTypes ...@@ -10,12 +10,12 @@ namespace LogServerTypes
const unsigned int MAGICNUM = 0x20140904; const unsigned int MAGICNUM = 0x20140904;
enum Command enum Command
{ {
cmdNOP, /*!< отсутствие команды */ cmdNOP, /*!< отсутствие команды */
cmdSetLevel, /*!< установить уровень вывода */ cmdSetLevel, /*!< установить уровень вывода */
cmdAddLevel, /*!< добавить уровень вывода */ cmdAddLevel, /*!< добавить уровень вывода */
cmdDelLevel, /*!< удалить уровень вывода */ cmdDelLevel, /*!< удалить уровень вывода */
cmdRotate, /*!< пересоздать файл с логами */ cmdRotate, /*!< пересоздать файл с логами */
cmdOffLogFile, /*!< отключить запись файла логов (если включена) */ cmdOffLogFile, /*!< отключить запись файла логов (если включена) */
cmdOnLogFile /*!< включить запись файла логов (если была отключена) */ cmdOnLogFile /*!< включить запись файла логов (если была отключена) */
// cmdSetLogFile // cmdSetLogFile
}; };
......
...@@ -15,7 +15,7 @@ class LogSession: ...@@ -15,7 +15,7 @@ class LogSession:
{ {
public: public:
LogSession( ost::TCPSocket &server, DebugStream* log, timeout_t sessTimeout=10000, timeout_t cmdTimeout=2000, timeout_t outTimeout=2000, timeout_t delay=2000 ); LogSession( ost::TCPSocket& server, DebugStream* log, timeout_t sessTimeout=10000, timeout_t cmdTimeout=2000, timeout_t outTimeout=2000, timeout_t delay=2000 );
virtual ~LogSession(); virtual ~LogSession();
typedef sigc::slot<void, LogSession*> FinalSlot; typedef sigc::slot<void, LogSession*> FinalSlot;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment