#pragma once #include #include #include #include #include #ifdef EARTHWORM_EXPORT #define DLLIMPEXP __declspec(dllexport) #else #define DLLIMPEXP __declspec(dllimport) #endif class DLLIMPEXP IniTools { public: static bool getSections(LPCTSTR szPath, std::vector §ions); static bool getSectionContent(LPCTSTR szPath, LPCTSTR szSection, std::map &mapV); static bool getSectionContent(LPCTSTR szPath, LPCTSTR szSection, std::vector> &mapV); static bool setSectionContent(LPCTSTR szPath, LPCTSTR szSection, const std::map &mapV); };