mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
#ifndef CSV_WORLD_DIALOGUECREATOR_H
|
|
#define CSV_WORLD_DIALOGUECREATOR_H
|
|
|
|
#include "genericcreator.hpp"
|
|
|
|
namespace CSVWorld
|
|
{
|
|
class DialogueCreator : public GenericCreator
|
|
{
|
|
int mType;
|
|
|
|
protected:
|
|
|
|
virtual void configureCreateCommand (CSMWorld::CreateCommand& command) const;
|
|
|
|
public:
|
|
|
|
DialogueCreator (CSMWorld::Data& data, QUndoStack& undoStack,
|
|
const CSMWorld::UniversalId& id, int type);
|
|
};
|
|
|
|
class TopicCreatorFactory : public CreatorFactoryBase
|
|
{
|
|
public:
|
|
|
|
virtual Creator *makeCreator (CSMWorld::Data& data, QUndoStack& undoStack,
|
|
const CSMWorld::UniversalId& id) const;
|
|
///< The ownership of the returned Creator is transferred to the caller.
|
|
};
|
|
|
|
class JournalCreatorFactory : public CreatorFactoryBase
|
|
{
|
|
public:
|
|
|
|
virtual Creator *makeCreator (CSMWorld::Data& data, QUndoStack& undoStack,
|
|
const CSMWorld::UniversalId& id) const;
|
|
///< The ownership of the returned Creator is transferred to the caller.
|
|
};
|
|
}
|
|
|
|
#endif
|