diff options
Diffstat (limited to 'cpp/nissy.h')
| -rw-r--r-- | cpp/nissy.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/nissy.h b/cpp/nissy.h index 817307c..199af10 100644 --- a/cpp/nissy.h +++ b/cpp/nissy.h | |||
| @@ -55,6 +55,14 @@ namespace nissy { | |||
| 55 | static const status PAUSE; | 55 | static const status PAUSE; |
| 56 | }; | 56 | }; |
| 57 | 57 | ||
| 58 | class compare_result { | ||
| 59 | public: | ||
| 60 | long long value; | ||
| 61 | |||
| 62 | static const compare_result EQUAL; | ||
| 63 | static const compare_result DIFFERENT; | ||
| 64 | }; | ||
| 65 | |||
| 58 | class cube { | 66 | class cube { |
| 59 | public: | 67 | public: |
| 60 | cube(); | 68 | cube(); |
| @@ -103,6 +111,8 @@ namespace nissy { | |||
| 103 | }; | 111 | }; |
| 104 | 112 | ||
| 105 | error count_moves(const std::string&); | 113 | error count_moves(const std::string&); |
| 114 | std::variant<error, compare_result> compare_moves( | ||
| 115 | const std::string&, const std::string&); | ||
| 106 | void set_logger(void (*)(const char *, void *), void *); | 116 | void set_logger(void (*)(const char *, void *), void *); |
| 107 | } | 117 | } |
| 108 | 118 | ||
