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.

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include <common.hpp>
  3. #include <vector>
  4. namespace rack {
  5. namespace tag {
  6. /** List of tags and their aliases.
  7. The first alias of each tag `tag[tagId][0]` is the "canonical" alias.
  8. It is guaranteed to exist and should be used as the human-readable form.
  9. This list is manually alphabetized by the canonical alias.
  10. */
  11. extern const std::vector<std::vector<std::string>> tagAliases;
  12. /** Searches for a tag ID.
  13. Searches tag aliases.
  14. Case-insensitive.
  15. Returns -1 if not found.
  16. */
  17. int findId(const std::string& tag);
  18. } // namespace tag
  19. } // namespace rack