2012-12-11 13:22:43 +01:00
|
|
|
|
|
|
|
#include "subviews.hpp"
|
|
|
|
|
|
|
|
#include "../doc/subviewfactoryimp.hpp"
|
|
|
|
|
|
|
|
#include "tablesubview.hpp"
|
2012-12-13 13:35:08 +01:00
|
|
|
#include "dialoguesubview.hpp"
|
2012-12-11 13:22:43 +01:00
|
|
|
|
|
|
|
void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
|
|
|
|
{
|
|
|
|
manager.add (CSMWorld::UniversalId::Type_Globals,
|
|
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<TableSubView> (true));
|
2012-12-13 13:35:08 +01:00
|
|
|
|
2013-02-08 09:58:19 +01:00
|
|
|
manager.add (CSMWorld::UniversalId::Type_Gmsts,
|
|
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<TableSubView> (false));
|
|
|
|
|
2012-12-13 13:35:08 +01:00
|
|
|
manager.add (CSMWorld::UniversalId::Type_Global,
|
|
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<DialogueSubView> (true));
|
2012-12-11 13:22:43 +01:00
|
|
|
}
|