1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-23 06:53:54 +00:00
openmw/apps/opencs/view/world/creator.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
453 B
C++
Raw Normal View History

#include "creator.hpp"
2014-08-07 07:32:49 +00:00
#include <stdexcept>
CSVWorld::Creator::~Creator() {}
void CSVWorld::Creator::setScope(unsigned int scope)
{
if (scope != CSMWorld::Scope_Content)
throw std::logic_error("Invalid scope in creator");
}
CSVWorld::CreatorFactoryBase::~CreatorFactoryBase() {}
CSVWorld::Creator* CSVWorld::NullCreatorFactory::makeCreator(
CSMDoc::Document& document, const CSMWorld::UniversalId& id) const
{
2020-11-13 07:39:47 +00:00
return nullptr;
2015-03-11 14:54:45 +00:00
}