DragonNest/Server/ServiceMonitorEx/Source/ErrorLogMngr.h
Cussrro 47f7895977 Revert "修复编码问题"
This reverts commit 9e69c01767.
2024-12-21 10:04:04 +08:00

54 lines
567 B
C++

#pragma once
#include "Define.h"
#include "Singleton.hpp"
#include "CriticalSection.hpp"
#include <map>
#include <vector>
// ERRLOGINFO
typedef struct ERRLOGINFO
{
public:
private:
public:
} *LPERRLOGINFO, * const LPCERRLOGINFO;;
// CErrorLogMngr
class CErrorLogMngr
{
public:
typedef CCriticalSection TP_LOCK;
typedef CLockAutoEx<TP_LOCK> TP_LOCKAUTO;
private:
DECLARE_SINGLETON_CLASS(CErrorLogMngr);
public:
CErrorLogMngr();
DWORD Open();
VOID Close();
BOOL IsOpen() const { return(m_IsOpen); }
private:
BOOL m_IsOpen;
};