3#include <Covellite\Gui\Initializer.hpp>
5using namespace covellite::gui;
7class Initializer::Helper
10 static Helper & GetInstance(
void)
12 static Helper Instance;
19 CovelliteGui::Initialise();
23 CovelliteGui::Shutdown();
27Initializer::Initializer(
const Data & _Data) :
28 m_System(_Data.m_pStringTranslator),
29 m_pRenderInterface(_Data.m_pRenderInterface)
31 CovelliteGui::SetFileInterface(&m_File);
32 CovelliteGui::SetSystemInterface(&m_System);
33 CovelliteGui::SetRenderInterface(m_pRenderInterface.get());
42 Helper::GetInstance();
45Initializer::~Initializer(
void)
47 CovelliteGui::SetFileInterface(
nullptr);
48 CovelliteGui::SetSystemInterface(
nullptr);
49 CovelliteGui::SetRenderInterface(
nullptr);