colobot/test/unit/ui/stubs/app_stub.cpp

53 lines
740 B
C++
Raw Normal View History

#include "app/app.h"
#include "graphics/opengl/gldevice.h"
template<> CApplication* CSingleton<CApplication>::m_instance = nullptr;
namespace Gfx {
GLDeviceConfig::GLDeviceConfig()
{
}
} /* Gfx */
CApplication::CApplication()
{
}
CApplication::~CApplication()
{
}
2013-05-27 07:42:01 +00:00
std::string CApplication::GetDataFilePath(DataDir /* dataDir */, const std::string& subpath) const
{
return subpath;
}
CSoundInterface* CApplication::GetSound()
{
return nullptr;
}
CEventQueue* CApplication::GetEventQueue()
{
return nullptr;
}
2013-05-27 07:42:01 +00:00
std::string CApplication::GetDataDirPath() const
2013-03-17 19:40:54 +00:00
{
return "";
}
Event CApplication::CreateUpdateEvent()
{
return Event(EVENT_NULL);
}
2013-03-29 09:48:25 +00:00
2013-05-27 07:42:01 +00:00
char CApplication::GetLanguageChar() const
2013-03-29 09:48:25 +00:00
{
2013-03-29 09:51:48 +00:00
return 'E';
2013-03-29 09:48:25 +00:00
}