This commit is contained in:
33
HookMsg/ConfigINI.h
Normal file
33
HookMsg/ConfigINI.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// ConfigINI.h: interface for the CConfigINI class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_CONFIGINI_H__51624D04_FF11_11D3_9A0F_005004BBFF87__INCLUDED_)
|
||||
#define AFX_CONFIGINI_H__51624D04_FF11_11D3_9A0F_005004BBFF87__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
class CConfigINI
|
||||
{
|
||||
public:
|
||||
CConfigINI();
|
||||
virtual ~CConfigINI();
|
||||
|
||||
BOOL SetINIFile(CString sFileName);
|
||||
BOOL PutSectionKeyData(CString sSectionName, CString sKeyName, CString sValue);
|
||||
CString GetSectionKeyData(CString sSectionName, CString sKeyName);
|
||||
|
||||
void WriteConfigEnvToINI();
|
||||
void ReadConfigEnvFromINI();
|
||||
void CreateConfigFile();
|
||||
|
||||
void ReadConfigEnvFromINI_DEBUG_SECTION();
|
||||
|
||||
private:
|
||||
CString m_sINIFileName;
|
||||
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_CONFIGINI_H__51624D04_FF11_11D3_9A0F_005004BBFF87__INCLUDED_)
|
||||
Reference in New Issue
Block a user