diff options
| author | Charlie Blake | 2017-11-14 02:24:07 +0000 |
|---|---|---|
| committer | GitHub | 2017-11-14 02:24:07 +0000 |
| commit | 995ef52047458e1d59c396df7148ae55b7b93a3c (patch) | |
| tree | e2d76d46bb435d01760bb01db9e4123f33063a2d /src/main/input-output/command_line_helper.h | |
| parent | Merge pull request #20 from thecharlesblake/initial-code-cleanup (diff) | |
| parent | Add logic for reading preset sols and file json (diff) | |
| download | metasol-995ef52047458e1d59c396df7148ae55b7b93a3c.tar.gz metasol-995ef52047458e1d59c396df7148ae55b7b93a3c.zip | |
Merge pull request #21 from thecharlesblake/json-rules
Json rules
Diffstat (limited to 'src/main/input-output/command_line_helper.h')
| -rw-r--r-- | src/main/input-output/command_line_helper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/input-output/command_line_helper.h b/src/main/input-output/command_line_helper.h index bb2f698..fd1468c 100644 --- a/src/main/input-output/command_line_helper.h +++ b/src/main/input-output/command_line_helper.h @@ -14,6 +14,7 @@ public: bool parse(int argc, const char* argv[]); const std::vector<std::string> get_input_files(); const std::string get_solitaire_type(); + const std::string get_rules_file(); int get_random_deal(); bool get_help(); @@ -22,7 +23,7 @@ private: bool assess_sol_type(); void print_help(); void print_no_input_error(); - void print_no_sol_type_error(); + void print_sol_type_rules_error(); void print_rand_plus_input_err(); boost::program_options::options_description cmdline_options; @@ -31,6 +32,7 @@ private: std::vector<std::string> input_files; std::string solitaire_type; + std::string rules_file; int random_deal; bool help; }; |
