Moved some around, more renames

This commit is contained in:
KimLS
2014-08-21 22:43:33 -07:00
parent 504a8b19ce
commit cd0824ee71
63 changed files with 8 additions and 10 deletions
@@ -0,0 +1,32 @@
#ifndef INI__H
#define INI__H
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
struct iniData
{
std::string option;
std::string param;
};
class INIParser
{
public:
INIParser(const char *filename);
~INIParser();
void Parse();
void ReadLine(FILE *fp, char *Option, char *Param);
void AddOption(std::string option, std::string param);
std::string GetOption(std::string option);
protected:
char file[128];
std::vector<iniData> options;
};
#endif