diff options
| author | thecharlesblake | 2017-12-26 17:29:24 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-12-26 17:29:24 +0000 |
| commit | b8f4cae869eace06df73ac7c1c390cc42cfe499b (patch) | |
| tree | 0440d8c082388f3fb04f7c977b16eeb4ddf024ef /src/main/util/util.h | |
| parent | Refactor game state to prep for deal parse (diff) | |
| download | metasol-b8f4cae869eace06df73ac7c1c390cc42cfe499b.tar.gz metasol-b8f4cae869eace06df73ac7c1c390cc42cfe499b.zip | |
Add basic tableau deal parsing
Diffstat (limited to 'src/main/util/util.h')
| -rw-r--r-- | src/main/util/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/util/util.h b/src/main/util/util.h index 1721daa..de2a94d 100644 --- a/src/main/util/util.h +++ b/src/main/util/util.h @@ -7,11 +7,12 @@ #include <string> -#include <boost/optional.hpp> +#include <rapidjson/schema.h> class util { public: - static const boost::optional<std::string> read_file(const std::string&); + static rapidjson::Document get_file_json(const std::string&); + static void json_parse_err(const std::string& msg); }; |
