OpenMW
apps/opencs/view/world/dialoguecreator.hpp
Go to the documentation of this file.
00001 #ifndef CSV_WORLD_DIALOGUECREATOR_H
00002 #define CSV_WORLD_DIALOGUECREATOR_H
00003 
00004 #include "genericcreator.hpp"
00005 
00006 namespace CSVWorld
00007 {
00008     class DialogueCreator : public GenericCreator
00009     {
00010             int mType;
00011 
00012         protected:
00013 
00014             virtual void configureCreateCommand (CSMWorld::CreateCommand& command) const;
00015 
00016         public:
00017 
00018             DialogueCreator (CSMWorld::Data& data, QUndoStack& undoStack,
00019                 const CSMWorld::UniversalId& id, int type);
00020     };
00021 
00022     class TopicCreatorFactory : public CreatorFactoryBase
00023     {
00024         public:
00025 
00026             virtual Creator *makeCreator (CSMWorld::Data& data, QUndoStack& undoStack,
00027                 const CSMWorld::UniversalId& id) const;
00029     };
00030 
00031     class JournalCreatorFactory : public CreatorFactoryBase
00032     {
00033         public:
00034 
00035             virtual Creator *makeCreator (CSMWorld::Data& data, QUndoStack& undoStack,
00036                 const CSMWorld::UniversalId& id) const;
00038     };
00039 }
00040 
00041 #endif