2014-08-02 06:23:52 +00:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2014-08-02 06:23:52 +00:00
|
|
|
|
|
|
|
// Stub implementation of the Host_* callbacks for tests. These implementations
|
|
|
|
// do nothing except return default values when required.
|
|
|
|
|
|
|
|
#include <string>
|
2020-12-27 22:11:22 +00:00
|
|
|
#include <vector>
|
2014-08-02 06:23:52 +00:00
|
|
|
|
|
|
|
#include "Core/Host.h"
|
|
|
|
|
2020-12-27 22:11:22 +00:00
|
|
|
std::vector<std::string> Host_GetPreferredLocales()
|
|
|
|
{
|
|
|
|
return {};
|
|
|
|
}
|
2014-08-02 06:23:52 +00:00
|
|
|
void Host_NotifyMapLoaded()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_RefreshDSPDebuggerWindow()
|
|
|
|
{
|
|
|
|
}
|
2018-05-28 17:03:29 +00:00
|
|
|
void Host_Message(HostMessageID)
|
2014-08-02 06:23:52 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_UpdateTitle(const std::string&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_UpdateDisasmDialog()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_UpdateMainFrame()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void Host_RequestRenderWindowSize(int, int)
|
|
|
|
{
|
2014-08-31 12:52:21 +00:00
|
|
|
}
|
2019-03-18 16:30:33 +00:00
|
|
|
bool Host_UIBlocksControllerState()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2014-08-02 06:23:52 +00:00
|
|
|
bool Host_RendererHasFocus()
|
|
|
|
{
|
|
|
|
return false;
|
2015-01-04 16:09:56 +00:00
|
|
|
}
|
2021-05-09 10:28:04 +00:00
|
|
|
bool Host_RendererHasFullFocus()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2015-01-04 16:09:56 +00:00
|
|
|
bool Host_RendererIsFullscreen()
|
|
|
|
{
|
|
|
|
return false;
|
2014-08-02 06:23:52 +00:00
|
|
|
}
|
2016-11-10 16:55:21 +00:00
|
|
|
void Host_YieldToUI()
|
|
|
|
{
|
|
|
|
}
|
2019-02-14 02:31:31 +00:00
|
|
|
void Host_TitleChanged()
|
|
|
|
{
|
|
|
|
}
|