summaryrefslogtreecommitdiffstats
path: root/test/unit/ui/stubs/robotmain_stub.cpp
blob: 692f67f843f8aae23800a77bc6797bcf80a12fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "object/robotmain.h"


template<> CRobotMain* CSingleton<CRobotMain>::m_instance = nullptr;

CRobotMain::CRobotMain(CApplication* app, bool loadProfile)
{
}

CRobotMain::~CRobotMain()
{
}

bool CRobotMain::GetGlint()
{
    return false;
}

const InputBinding& CRobotMain::GetInputBinding(InputSlot slot)
{
    unsigned int index = static_cast<unsigned int>(slot);
    assert(index >= 0 && index < INPUT_SLOT_MAX);
    return m_inputBindings[index];
}