Skip to content

Commit

Permalink
[#2] WIP INI generator
Browse files Browse the repository at this point in the history
Signed-off-by: Clovis Durand <cd.clovel19@gmail.com>
  • Loading branch information
Clovel committed Mar 2, 2020
1 parent f2ade6b commit efc2ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generator/src/INI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,7 @@ int INI::getDouble(const std::string &pKey, double &pValue, const std::string &p
return *lEnd == 0 ? -1 : 0;
}


int INI::generateINI(const std::string &pDest) const {
std::ostringstream mOutputFile(pDest);

}
2 changes: 2 additions & 0 deletions generator/src/INI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class INI {
int getBoolean(const std::string &pKey, bool &pValue, const std::string &pSection = "default") const;
int getDouble(const std::string &pKey, double &pValue, const std::string &pSection = "default") const;

/* Generator */
int generateINI(const std::string &pDest) const;
protected:
std::string mFileName;
std::fstream mFileStream;
Expand Down

0 comments on commit efc2ff5

Please sign in to comment.