configFile.h 424 B

12345678910111213141516171819202122
  1. #pragma once
  2. #ifndef CONFIGFILE_H
  3. #define CONFIGFILE_H
  4. #include <string>
  5. #include <vector>
  6. class ConfigFile {
  7. public:
  8. ConfigFile(std::string filePath);
  9. ~ConfigFile();
  10. bool isNewParagraph(std::string input);
  11. bool GetNextParagraph(std::string& aktparamgraph, bool &disabled, bool &eof);
  12. bool getNextLine(std::string* rt, bool &disabled, bool &eof);
  13. private:
  14. FILE* pFile;
  15. };
  16. #endif //CONFIGFILE_H