1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 22:53:53 +00:00
openmw/apps/opencs/view/world/dialoguecreator.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
989 B
C++
Raw Normal View History

#ifndef CSV_WORLD_DIALOGUECREATOR_H
#define CSV_WORLD_DIALOGUECREATOR_H
#include "genericcreator.hpp"
namespace CSVWorld
{
class DialogueCreator : public GenericCreator
{
int mType;
protected:
void configureCreateCommand(CSMWorld::CreateCommand& command) const override;
public:
DialogueCreator(CSMWorld::Data& data, QUndoStack& undoStack, const CSMWorld::UniversalId& id, int type);
};
class TopicCreatorFactory : public CreatorFactoryBase
{
public:
Creator* makeCreator(CSMDoc::Document& document, const CSMWorld::UniversalId& id) const override;
///< The ownership of the returned Creator is transferred to the caller.
};
class JournalCreatorFactory : public CreatorFactoryBase
{
public:
Creator* makeCreator(CSMDoc::Document& document, const CSMWorld::UniversalId& id) const override;
///< The ownership of the returned Creator is transferred to the caller.
};
}
#endif