Source:TyranoMapHack123/IniReader.h
Ini Reading class headers by Xiangxiong Jian: http://www.codeproject.com/KB/cpp/IniReader.aspx.
Parent Directory: Source:TyranoMapHack123
Plain Code: edit
#ifndef INIREADER_H#define INIREADER_Hclass CIniReader{public:
CIniReader(char* szFileName);
int ReadInteger(char* szSection, char* szKey, int iDefaultValue);
float ReadFloat(char* szSection, char* szKey, float fltDefaultValue);
bool ReadBoolean(char* szSection, char* szKey, bool bolDefaultValue);
char* ReadString(char* szSection, char* szKey, const char* szDefaultValue);
private:
char m_szFileName[255];
};
#endif//INIREADER_H