#pragma once
|
#include <vector>
|
#include <string>
|
|
class CConfiguration
|
{
|
public:
|
CConfiguration();
|
CConfiguration(const char* pszFilepath);
|
~CConfiguration();
|
|
public:
|
void setFilepath(const char* pszFilepath);
|
void getUnitId(CString& strUnitId);
|
void getBond1(CString& strIp, UINT& port, UINT& doorCount);
|
int getLogcatLevel();
|
void setLogcatLevel(int level);
|
int setLogcatIncludeText(CString& strInclude);
|
int getLogcatIncludeText(CString& strInclude);
|
void setLogcatIncludeRegex(BOOL bRegex);
|
BOOL isLogcatIncludeRegex();
|
int getCustomLogcatIncludeTexts(std::vector<std::string>& texts);
|
void setFilterMode(int mode);
|
int getFilterMode();
|
BOOL getPortParms(unsigned int index, BOOL& bEnable, int& type, int& mode,
|
int& cassetteType, int& transferMode, BOOL& bAutoChangeEnable);
|
|
public:
|
void setP2RemoteEqReconnectInterval(int second);
|
int getP2RemoteEqReconnectInterval();
|
|
private:
|
CString m_strFilepath;
|
};
|