diff options
Diffstat (limited to 'include/Storage.hpp')
-rw-r--r-- | include/Storage.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Storage.hpp b/include/Storage.hpp index 8a1bbfa..10cbbb2 100644 --- a/include/Storage.hpp +++ b/include/Storage.hpp @@ -4,6 +4,10 @@ #include <functional> #include <filesystem> #include <json/value.h> +#ifdef Bool +#undef Bool +#endif +#include <rapidjson/document.h> namespace QuickMedia { // Return false to stop the iterator @@ -29,6 +33,7 @@ namespace QuickMedia { bool read_file_as_json(const Path &filepath, Json::Value &result); bool save_json_to_file_atomic(const Path &path, const Json::Value &json); + bool save_json_to_file_atomic(const Path &path, const rapidjson::Value &json); bool is_program_executable_by_name(const char *name); }
\ No newline at end of file |