OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dialoguecreator.hpp
Go to the documentation of this file.
1 #ifndef CSV_WORLD_DIALOGUECREATOR_H
2 #define CSV_WORLD_DIALOGUECREATOR_H
3 
4 #include "genericcreator.hpp"
5 
6 namespace CSVWorld
7 {
9  {
10  int mType;
11 
12  protected:
13 
14  virtual void configureCreateCommand (CSMWorld::CreateCommand& command) const;
15 
16  public:
17 
18  DialogueCreator (CSMWorld::Data& data, QUndoStack& undoStack,
19  const CSMWorld::UniversalId& id, int type);
20  };
21 
23  {
24  public:
25 
26  virtual Creator *makeCreator (CSMDoc::Document& document, const CSMWorld::UniversalId& id) const;
28  };
29 
31  {
32  public:
33 
34  virtual Creator *makeCreator (CSMDoc::Document& document, const CSMWorld::UniversalId& id) const;
36  };
37 }
38 
39 #endif
Record creator UI base class.
Definition: creator.hpp:21
Definition: commands.hpp:48
virtual void configureCreateCommand(CSMWorld::CreateCommand &command) const
Allow subclasses to add additional data to command.
Definition: dialoguecreator.cpp:12
Definition: dialoguecreator.hpp:22
virtual Creator * makeCreator(CSMDoc::Document &document, const CSMWorld::UniversalId &id) const
The ownership of the returned Creator is transferred to the caller.
Definition: dialoguecreator.cpp:26
Definition: dialoguecreator.hpp:8
DialogueCreator(CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id, int type)
Definition: dialoguecreator.cpp:21
int mType
Definition: dialoguecreator.hpp:10
Definition: data.hpp:77
Base class for Creator factory.
Definition: creator.hpp:54
Definition: genericcreator.hpp:28
Definition: document.hpp:57
Definition: dialoguecreator.hpp:30
virtual Creator * makeCreator(CSMDoc::Document &document, const CSMWorld::UniversalId &id) const
The ownership of the returned Creator is transferred to the caller.
Definition: dialoguecreator.cpp:32
Definition: universalid.hpp:12