mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 10:49:57 +00:00
25 lines
No EOL
845 B
C++
25 lines
No EOL
845 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_Skills,
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<TableSubView> (false));
|
|
|
|
manager.add (CSMWorld::UniversalId::Type_Classes,
|
|
new CSVDoc::SubViewFactoryWithCreateFlag<TableSubView> (true));
|
|
|
|
// manager.add (CSMWorld::UniversalId::Type_Global,
|
|
// new CSVDoc::SubViewFactoryWithCreateFlag<DialogueSubView> (true));
|
|
} |