2013-07-26 10:34:30 +00:00
|
|
|
|
|
|
|
#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");
|
|
|
|
}
|
|
|
|
|
2013-07-26 10:34:30 +00:00
|
|
|
|
|
|
|
CSVWorld::CreatorFactoryBase::~CreatorFactoryBase() {}
|
|
|
|
|
|
|
|
|
2013-07-27 11:28:12 +00:00
|
|
|
CSVWorld::Creator *CSVWorld::NullCreatorFactory::makeCreator (CSMWorld::Data& data,
|
2013-07-28 11:43:16 +00:00
|
|
|
QUndoStack& undoStack, const CSMWorld::UniversalId& id) const
|
2013-07-26 10:34:30 +00:00
|
|
|
{
|
|
|
|
return 0;
|
2015-03-11 14:54:45 +00:00
|
|
|
}
|