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