diff include/core/ini.h @ 301:b1f625b0227c

*: convert all files CRLF -> LF some files were in DOS format, others were in unix. now everything (that at least is under our control) should all be the same format
author Paper <paper@paper.us.eu.org>
date Mon, 13 May 2024 15:04:51 -0400
parents ec0a2b5493f8
children
line wrap: on
line diff
--- a/include/core/ini.h	Mon May 13 14:56:37 2024 -0400
+++ b/include/core/ini.h	Mon May 13 15:04:51 2024 -0400
@@ -1,21 +1,21 @@
-#ifndef MINORI_CORE_INI_H_
-#define MINORI_CORE_INI_H_
-
-#define MINI_CASE_SENSITIVE
-#include "core/strings.h"
-#include "mini/ini.h"
-#include <string>
-
-namespace INI {
-
-std::string GetIniString(const mINI::INIStructure& ini, const std::string& section, const std::string& key, const std::string& def);
-bool GetIniBool(const mINI::INIStructure& ini, const std::string& section, const std::string& key, bool def);
-
-template<typename T>
-T GetIniInteger(const mINI::INIStructure& ini, const std::string& section, const std::string& key, T def) {
-	return Strings::ToInt<T>(GetIniString(ini, section, key, ""), def);
-}
-
-} // namespace INI
-
-#endif
+#ifndef MINORI_CORE_INI_H_
+#define MINORI_CORE_INI_H_
+
+#define MINI_CASE_SENSITIVE
+#include "core/strings.h"
+#include "mini/ini.h"
+#include <string>
+
+namespace INI {
+
+std::string GetIniString(const mINI::INIStructure& ini, const std::string& section, const std::string& key, const std::string& def);
+bool GetIniBool(const mINI::INIStructure& ini, const std::string& section, const std::string& key, bool def);
+
+template<typename T>
+T GetIniInteger(const mINI::INIStructure& ini, const std::string& section, const std::string& key, T def) {
+	return Strings::ToInt<T>(GetIniString(ini, section, key, ""), def);
+}
+
+} // namespace INI
+
+#endif