MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Create

Method Create

Source/SysGL/Input/InputManagerGL.cpp:189–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189template<> bool CSingleton< CInputManager >::Create()
190{
191 DAEDALUS_ASSERT_Q(mpInstance == NULL);
192
193 IInputManager * manager = new IInputManager();
194
195 if(manager->Initialise())
196 {
197 mpInstance = manager;
198 return true;
199 }
200
201 delete manager;
202 return false;
203}
204
205u32 IInputManager::GetNumConfigurations() const
206{

Callers

nothing calls this directly

Calls 1

InitialiseMethod · 0.45

Tested by

no test coverage detected