2013-07-26 12:34:30 +02:00
|
|
|
#include "creator.hpp"
|
|
|
|
|
2014-08-07 09:32:49 +02: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");
|
|
|
|
}
|
|
|
|
|
2013-07-26 12:34:30 +02:00
|
|
|
|
|
|
|
CSVWorld::CreatorFactoryBase::~CreatorFactoryBase() {}
|
|
|
|
|
|
|
|
|
2015-06-18 22:59:40 +03:00
|
|
|
CSVWorld::Creator *CSVWorld::NullCreatorFactory::makeCreator (CSMDoc::Document& document,
|
|
|
|
const CSMWorld::UniversalId& id) const
|
2013-07-26 12:34:30 +02:00
|
|
|
{
|
|
|
|
return 0;
|
2015-03-11 10:54:45 -04:00
|
|
|
}
|