From 81fdc3f73a5d89e613c8e19f385c2144b35f6204 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 28 Oct 2017 12:19:20 +0100 Subject: Add Spanish Paitence to cmd parse and refactor --- src/main/command_line_helper.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/command_line_helper.h') diff --git a/src/main/command_line_helper.h b/src/main/command_line_helper.h index 5694830..47eef4c 100644 --- a/src/main/command_line_helper.h +++ b/src/main/command_line_helper.h @@ -16,13 +16,15 @@ public: int get_random_deal(); bool get_help(); private: + static std::vector valid_sol_types; + bool assess_errors(); bool assess_sol_type(); void print_help(); void print_no_input_error(); void print_no_sol_type_error(); void print_rand_plus_input_err(); - + boost::program_options::options_description cmdline_options; boost::program_options::options_description main_options; boost::program_options::positional_options_description p; -- cgit v1.2.1 From d472356d4e01c72e3b51deb28f694b9d0dd4fd6e Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 28 Oct 2017 15:15:49 +0100 Subject: Add rules class to represent solitaire type --- src/main/command_line_helper.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/command_line_helper.h') diff --git a/src/main/command_line_helper.h b/src/main/command_line_helper.h index 47eef4c..8cc67cb 100644 --- a/src/main/command_line_helper.h +++ b/src/main/command_line_helper.h @@ -16,8 +16,6 @@ public: int get_random_deal(); bool get_help(); private: - static std::vector valid_sol_types; - bool assess_errors(); bool assess_sol_type(); void print_help(); -- cgit v1.2.1