mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
work on GPIO handling
This commit is contained in:
19
code/components/jomjol_configfile/configFile.h
Normal file
19
code/components/jomjol_configfile/configFile.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
static const char *TAGCONFIGFILE = "configFile";
|
||||
|
||||
|
||||
class ConfigFile {
|
||||
public:
|
||||
ConfigFile(std::string filePath);
|
||||
~ConfigFile();
|
||||
|
||||
bool isNewParagraph(std::string input);
|
||||
bool GetNextParagraph(std::string& aktparamgraph, bool &disabled, bool &eof);
|
||||
bool getNextLine(std::string* rt, bool &disabled, bool &eof);
|
||||
std::vector<std::string> ZerlegeZeile(std::string input, std::string delimiter = " =, \t");
|
||||
|
||||
private:
|
||||
FILE* pFile;
|
||||
};
|
||||
Reference in New Issue
Block a user