aboutsummaryrefslogtreecommitdiff
path: root/src/main/input-output
diff options
context:
space:
mode:
authorthecharlesblake2017-11-14 01:47:55 +0000
committerthecharlesblake2017-11-14 01:47:55 +0000
commit882afd91325d03ae924fef648d7485295a450b59 (patch)
tree592ebc75006390bb999fb4a444cb16e0f2df994c /src/main/input-output
parentAdd rule reading logic to main class (diff)
downloadmetasol-882afd91325d03ae924fef648d7485295a450b59.tar.gz
metasol-882afd91325d03ae924fef648d7485295a450b59.zip

Add rules presets to resources

Diffstat (limited to 'src/main/input-output')
-rw-r--r--src/main/input-output/sol_preset_types.h19
1 files changed, 19 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