| 187 | } |
| 188 | |
| 189 | template<> 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 | |
| 205 | u32 IInputManager::GetNumConfigurations() const |
| 206 | { |
nothing calls this directly
no test coverage detected