diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/input-output/sol_preset_types.h | 19 | ||||
| -rw-r--r-- | src/main/util/util.cpp | 5 | ||||
| -rw-r--r-- | src/main/util/util.h | 14 |
3 files changed, 38 insertions, 0 deletions
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 <string> +#include <map> + +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<std::string, std::string> mp; +}; + +#endif //SOLVITAIRE_SOL_PRESET_TYPES_H diff --git a/src/main/util/util.cpp b/src/main/util/util.cpp new file mode 100644 index 0000000..ed46d3b --- /dev/null +++ b/src/main/util/util.cpp @@ -0,0 +1,5 @@ +// +// Created by thecharlesblake on 11/13/17. +// + +#include "util.h" diff --git a/src/main/util/util.h b/src/main/util/util.h new file mode 100644 index 0000000..63b8d0d --- /dev/null +++ b/src/main/util/util.h @@ -0,0 +1,14 @@ +// +// Created by thecharlesblake on 11/13/17. +// + +#ifndef SOLVITAIRE_UTIL_H +#define SOLVITAIRE_UTIL_H + + +class util { + +}; + + +#endif //SOLVITAIRE_UTIL_H |
