29 lines
461 B
C++
29 lines
461 B
C++
#ifndef __HGINFOIMPL_HPP__
|
|
#define __HGINFOIMPL_HPP__
|
|
|
|
#include "HGLog.h"
|
|
#include "HGConsole.h"
|
|
#include "HGLock.h"
|
|
|
|
class HGInfoImpl
|
|
{
|
|
public:
|
|
HGInfoImpl();
|
|
~HGInfoImpl();
|
|
|
|
HGResult Enable();
|
|
HGResult Disable();
|
|
HGResult Write(HGUInt type, const HGChar* info);
|
|
|
|
private:
|
|
HGLock m_lock;
|
|
HGBool m_enabled;
|
|
HGLog m_log;
|
|
HGConsole m_console;
|
|
HGUInt m_type;
|
|
HGBool m_showTime;
|
|
HGBool m_showId;
|
|
HGBool m_showType;
|
|
};
|
|
|
|
#endif /* __HGINFOIMPL_HPP__ */ |