Covellite++  Version: 2.3.0 Revision: ??? Platform: x64 Build: 23:13 04.01.2025
Кроссплатформенный фреймворк для разработки приложений на С++
Загрузка...
Поиск...
Не найдено
Initializer.windows.cpp
1
2#include "stdafx.h"
3#include <Covellite\Gui\Initializer.hpp>
4
5using namespace covellite::gui;
6
7Initializer::Initializer(const Data & _Data) :
8 m_System(_Data.m_pStringTranslator),
9 m_pRenderInterface(_Data.m_pRenderInterface)
10{
11 CovelliteGui::SetFileInterface(&m_File);
12 CovelliteGui::SetSystemInterface(&m_System);
13 CovelliteGui::SetRenderInterface(m_pRenderInterface.get());
14
15 CovelliteGui::Initialise();
16}
17
18Initializer::~Initializer(void)
19{
20 CovelliteGui::SetFileInterface(nullptr);
21 CovelliteGui::SetSystemInterface(nullptr);
22 CovelliteGui::SetRenderInterface(nullptr);
23
24 CovelliteGui::Shutdown();
25}