ModUtility.h 858 B

12345678910111213141516171819202122232425
  1. /*
  2. * ModUtility.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. VCMI_LIB_NAMESPACE_BEGIN
  12. // NOTE: all methods in this namespace should be considered internal to modding system and should not be used outside of this module
  13. namespace ModUtility
  14. {
  15. DLL_LINKAGE std::string normalizeIdentifier(const std::string & scope, const std::string & remoteScope, const std::string & identifier);
  16. DLL_LINKAGE void parseIdentifier(const std::string & fullIdentifier, std::string & scope, std::string & type, std::string & identifier);
  17. DLL_LINKAGE std::string makeFullIdentifier(const std::string & scope, const std::string & type, const std::string & identifier);
  18. };
  19. VCMI_LIB_NAMESPACE_END