From 882afd91325d03ae924fef648d7485295a450b59 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Tue, 14 Nov 2017 01:47:55 +0000 Subject: Add rules presets to resources --- src/main/input-output/sol_preset_types.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/input-output/sol_preset_types.h (limited to 'src/main/input-output') diff --git a/src/main/input-output/sol_preset_types.h b/src/main/input-output/sol_preset_types.h new file mode 100644 index 0000000..02f602d --- /dev/null +++ b/src/main/input-output/sol_preset_types.h @@ -0,0 +1,19 @@ +// +// Created by thecharlesblake on 11/14/17. +// + +#ifndef SOLVITAIRE_SOL_PRESET_TYPES_H +#define SOLVITAIRE_SOL_PRESET_TYPES_H + +#include +#include + +class sol_preset_types { +public: + static std::string get(const std::string& s); + static bool is_valid_preset(const std::string& s); +private: + static std::map mp; +}; + +#endif //SOLVITAIRE_SOL_PRESET_TYPES_H -- cgit v1.2.1