IHandlerBase.cpp 851 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * IHandlerBase.cpp, 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. #include "StdInc.h"
  11. #include "IHandlerBase.h"
  12. #include "CModHandler.h"
  13. VCMI_LIB_NAMESPACE_BEGIN
  14. std::string IHandlerBase::getScopeBuiltin() const
  15. {
  16. return CModHandler::scopeBuiltin();
  17. }
  18. void IHandlerBase::registerObject(std::string scope, std::string type_name, std::string name, si32 index)
  19. {
  20. return VLC->modh->identifiers.registerObject(scope, type_name, name, index);
  21. }
  22. std::string IHandlerBase::normalizeIdentifier(const std::string& scope, const std::string& remoteScope, const std::string& identifier) const
  23. {
  24. return VLC->modh->normalizeIdentifier(scope, remoteScope, identifier);
  25. }
  26. VCMI_LIB_NAMESPACE_END