1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 09:37:53 +00:00
OpenMW/apps/opencs/view/tools/subviews.cpp
2022-10-31 21:04:01 +01:00

18 lines
658 B
C++

#include "subviews.hpp"
#include "../doc/subviewfactoryimp.hpp"
#include <apps/opencs/model/world/universalid.hpp>
#include <apps/opencs/view/doc/subview.hpp>
#include <apps/opencs/view/doc/subviewfactory.hpp>
#include "reportsubview.hpp"
#include "searchsubview.hpp"
void CSVTools::addSubViewFactories(CSVDoc::SubViewFactoryManager& manager)
{
manager.add(CSMWorld::UniversalId::Type_VerificationResults, new CSVDoc::SubViewFactory<ReportSubView>);
manager.add(CSMWorld::UniversalId::Type_LoadErrorLog, new CSVDoc::SubViewFactory<ReportSubView>);
manager.add(CSMWorld::UniversalId::Type_Search, new CSVDoc::SubViewFactory<SearchSubView>);
}