forked from LosaDev/ls-2019-source
LosaDev source snapshot 2019
This commit is contained in:
commit
c198676e97
20588 files changed
+8812878
No files matched your search
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "cService.h"
|
||||
|
||||
|
||||
class cServiceLS : public cService
|
||||
{
|
||||
public:
|
||||
cServiceLS(int argc, TCHAR **argv);
|
||||
virtual ~cServiceLS();
|
||||
|
||||
public:
|
||||
virtual BOOL ExecuteProcess(); // 서비스 실행시에 호출되는 함수(사용자 정의)
|
||||
virtual BOOL ServiceStart(); // 서비스 실행(START)시에 호출됨
|
||||
virtual void ServiceStop(); // 서비스 중지(STOP)시에 호출됨
|
||||
|
||||
virtual void Debug(const TCHAR *message); // 디버깅용 메세지 출력
|
||||
|
||||
protected:
|
||||
void ConfigureSystem();
|
||||
|
||||
const TCHAR* GetLogFile() { return m_logFile.c_str(); } // 서비스 로그가 남을 파일
|
||||
|
||||
protected:
|
||||
std::tstring m_luaFile;
|
||||
std::tstring m_logFile;
|
||||
};
|
||||
Reference in new issue
Block a user