Krzysztof Grobelny | b8cc78d | 2021-11-29 15:54:53 +0100 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <string> |
| 4 | #include <string_view> |
| 5 | #include <vector> |
| 6 | |
| 7 | namespace utils |
| 8 | { |
| 9 | |
Krzysztof Grobelny | a950e42 | 2021-12-31 13:49:00 +0100 | [diff] [blame^] | 10 | void verifyIdCharacters(std::string_view id); |
| 11 | std::pair<std::string, std::string> generateId( |
| 12 | std::string_view id, std::string_view name, std::string_view defaultName, |
| 13 | const std::vector<std::string>& conflictIds, const size_t maxLength); |
Krzysztof Grobelny | b8cc78d | 2021-11-29 15:54:53 +0100 | [diff] [blame] | 14 | |
| 15 | } // namespace utils |