?? init.h
字號(hào):
#ifndef _INIT_H
#define _INIT_H
#include <ejet/WriteDateLog.h>
#include <ejet/UnixSys.h>
#include "ReadConf.h"
class Init
{
public:
Init(){}
virtual ~Init()
{
if(NULL != m_pLog)
{
delete m_pLog;
m_pLog=NULL;
}
if(NULL != m_pReadConf)
{
delete m_pReadConf;
m_pReadConf=NULL;
}
}
static int setLog(const char *logPathptr, const char *logNameptr, bool bDaemon);
static CWriteDateLog* getLog(void){return m_pLog;}
static bool initInterface(const char *logFileptr, const char *logItemptr);
static string getValue(const char *itemName){return m_pReadConf->getValue(itemName);}
private:
static CWriteDateLog *m_pLog;
static ReadConf *m_pReadConf;
};
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -