1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

basicly enabled code

This commit is contained in:
Marek Kochanowicz 2014-03-06 20:10:13 +01:00
parent c62a352956
commit b0ae78e889
3 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,9 @@
#include "../../model/world/columnbase.hpp"
#include "../../model/world/idtable.hpp"
#include "recordstatusdelegate.hpp"
#include "util.hpp"
CSVWorld::DialogueSubView::DialogueSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document,
bool createAndDelete)
: SubView (id)

View File

@ -18,7 +18,7 @@ namespace CSVWorld
public:
DialogueSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document, bool createAndDelete);
DialogueSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document, bool createAndDelete = false);
virtual void setEditLock (bool locked);
};

View File

@ -78,4 +78,6 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
CreatorFactory<CSVFilter::FilterCreator> >);
manager.add (CSMWorld::UniversalId::Type_Scene, new CSVDoc::SubViewFactory<SceneSubView>);
manager.add(CSMWorld::UniversalId::Type_Region, new CSVDoc::SubViewFactory<DialogueSubView>);
}