OpenMW
|
Base class for Creator factory. More...
#include <creator.hpp>
Public Member Functions | |
virtual | ~CreatorFactoryBase () |
virtual Creator * | makeCreator (CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id) const =0 |
Base class for Creator factory.
CSVWorld::CreatorFactoryBase::~CreatorFactoryBase | ( | ) | [virtual] |
virtual Creator* CSVWorld::CreatorFactoryBase::makeCreator | ( | CSMWorld::Data & | data, |
QUndoStack & | undoStack, | ||
const CSMWorld::UniversalId & | id | ||
) | const [pure virtual] |
The ownership of the returned Creator is transferred to the caller.
Implemented in CSVWorld::CreatorFactory< CreatorT >, CSVWorld::NullCreatorFactory, CSVWorld::JournalCreatorFactory, and CSVWorld::TopicCreatorFactory.