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