10 #ifdef STRINGS_EXPORTS
11 #define STRINGS_API __declspec(dllexport)
13 #define STRINGS_API __declspec(dllimport)
16 #define EDITOR_CONFIG_DEFAULT_NAME "editor_common.cfg"
18 #define CONFIG_DUMMY_SECTION_NAME "#___default"
40 std::string filename =
"";
41 std::string comment_delimeter =
"";
44 std::string value_raw =
"";
46 std::string value =
"";
47 bool value_bool =
false;
48 float value_float = 0.0f;
54 std::string
id =
"unspecified";
86 std::string* AsString();
125 std::string ConvertRawValueToString();
130 void UpdateValue(std::string new_value);
135 std::string* GetRawValue();
152 std::string GetDisplayNameString();
169 std::string GetDescriptionString();
183 std::string CreateConfigFileLine();
195 std::string filename;
198 std::map<std::string, BlamConfigurationSetting*>
settings;
231 bool HasOption(std::string option);
241 std::string* GetString(std::string option);
251 bool* GetBool(std::string option);
261 float* GetFloat(std::string option);
271 int* GetInt(std::string option);
298 std::string GetDisplayNameString();
307 std::map<std::string, BlamConfigurationSection*>
sections;
309 std::string filename =
"";
310 std::string comment_delimeter =
"";
336 BlamResult LoadDefaults(std::string _filename);
387 bool HasConfigurationSection(std::string section_name);
411 std::string GetDisplayNameString();
419 namespace Settings::Config