mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 09:36:37 +00:00
19 lines
587 B
C++
19 lines
587 B
C++
|
|
#include "subviews.hpp"
|
|
|
|
#include "../doc/subviewfactoryimp.hpp"
|
|
|
|
#include "tablesubview.hpp"
|
|
#include "dialoguesubview.hpp"
|
|
|
|
void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
|
|
{
|
|
manager.add (CSMWorld::UniversalId::Type_Globals,
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<TableSubView> (true));
|
|
|
|
manager.add (CSMWorld::UniversalId::Type_Gmsts,
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<TableSubView> (false));
|
|
|
|
manager.add (CSMWorld::UniversalId::Type_Global,
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<DialogueSubView> (true));
|
|
} |