You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #pragma once
- #include <vector>
-
- #include <common.hpp>
-
-
- namespace rack {
- namespace tag {
-
-
- /** List of tags and their aliases.
- The first alias of each tag `tag[tagId][0]` is the "canonical" alias.
- It is guaranteed to exist and should be used as the human-readable form.
-
- This list is manually alphabetized by the canonical alias.
- */
- extern const std::vector<std::vector<std::string>> tagAliases;
-
-
- /** Searches for a tag ID.
- Searches tag aliases.
- Case-insensitive.
- Returns -1 if not found.
- */
- int findId(const std::string& tag);
-
- std::string getTag(int tagId);
-
-
- } // namespace tag
- } // namespace rack
|