mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
24 lines
502 B
C++
24 lines
502 B
C++
#include "creator.hpp"
|
|
|
|
#include <apps/opencs/model/world/scope.hpp>
|
|
#include <apps/opencs/model/world/universalid.hpp>
|
|
|
|
#include <stdexcept>
|
|
|
|
namespace CSMDoc
|
|
{
|
|
class Document;
|
|
}
|
|
|
|
void CSVWorld::Creator::setScope(unsigned int scope)
|
|
{
|
|
if (scope != CSMWorld::Scope_Content)
|
|
throw std::logic_error("Invalid scope in creator");
|
|
}
|
|
|
|
CSVWorld::Creator* CSVWorld::NullCreatorFactory::makeCreator(
|
|
CSMDoc::Document& document, const CSMWorld::UniversalId& id) const
|
|
{
|
|
return nullptr;
|
|
}
|