diff options
| author | Tom Harley | 2019-01-27 15:37:06 +0000 |
|---|---|---|
| committer | Tom Harley | 2019-01-27 15:37:06 +0000 |
| commit | a996283af7c21baaff0e114d58c34db820902c6f (patch) | |
| tree | 2fe5b6f7a800d4a7b8a65ee345f8c98aa138e36b /src/main/input-output/input/json-parsing/rules_parser.h | |
| parent | Split code into 3 files (diff) | |
| download | metasol-a996283af7c21baaff0e114d58c34db820902c6f.tar.gz metasol-a996283af7c21baaff0e114d58c34db820902c6f.zip | |
Reorganise repo
All solvitaire content has been shoved into a subdirectory to tidy up the root of the project. This also means solvitaire is treated similarly to other dependencies of the project, and allows other dependencies to be added easily.
There’s also a lot of other work done here, such as usign a thread pool library to manage the running of the voters.
Diffstat (limited to 'src/main/input-output/input/json-parsing/rules_parser.h')
| -rw-r--r-- | src/main/input-output/input/json-parsing/rules_parser.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/main/input-output/input/json-parsing/rules_parser.h b/src/main/input-output/input/json-parsing/rules_parser.h deleted file mode 100644 index fdfe018..0000000 --- a/src/main/input-output/input/json-parsing/rules_parser.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// Created by thecharlesblake on 1/3/18. -// - -#ifndef SOLVITAIRE_RULES_PARSER_H -#define SOLVITAIRE_RULES_PARSER_H - -#include "../../../game/sol_rules.h" - -class rules_parser { -public: - static const sol_rules from_file(std::string); - static const sol_rules from_preset(std::string); - static std::string rules_schema_json(); - -private: - static sol_rules get_default(); - static void modify_sol_rules(sol_rules&, rapidjson::Document&); -}; - - -#endif //SOLVITAIRE_RULES_PARSER_H |
