headless: Rename StubHost to HeadlessHost.

It's had that weird name forever, get rid of it.
This commit is contained in:
Unknown W. Brackets 2023-03-25 17:49:05 -07:00
parent 0ade62d264
commit 42f64e34e8
9 changed files with 11 additions and 11 deletions

View File

@ -2411,8 +2411,8 @@ set(NativeAssets
if(HEADLESS)
set(HeadlessSource
headless/Headless.cpp
headless/StubHost.cpp
headless/StubHost.h
headless/HeadlessHost.cpp
headless/HeadlessHost.h
headless/Compare.cpp
headless/Compare.h
headless/SDLHeadlessHost.cpp

View File

@ -763,7 +763,7 @@ ifeq ($(HEADLESS),1)
LOCAL_MODULE := ppsspp_headless
LOCAL_SRC_FILES := \
$(SRC)/headless/Headless.cpp \
$(SRC)/headless/StubHost.cpp \
$(SRC)/headless/HeadlessHost.cpp \
$(SRC)/headless/Compare.cpp
include $(BUILD_EXECUTABLE)

View File

@ -44,7 +44,7 @@
#include "LogManager.h"
#include "Compare.h"
#include "StubHost.h"
#include "HeadlessHost.h"
#if defined(_WIN32)
#include "WindowsHeadlessHost.h"
#elif defined(SDL)

View File

@ -477,7 +477,7 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="StubHost.cpp" />
<ClCompile Include="HeadlessHost.cpp" />
<ClCompile Include="WindowsHeadlessHost.cpp" />
</ItemGroup>
<ItemGroup>
@ -510,7 +510,7 @@
<ItemGroup>
<ClInclude Include="Compare.h" />
<ClInclude Include="SDLHeadlessHost.h" />
<ClInclude Include="StubHost.h" />
<ClInclude Include="HeadlessHost.h" />
<ClInclude Include="WindowsHeadlessHost.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -22,20 +22,19 @@
<ClCompile Include="..\Windows\GPU\D3D11Context.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="StubHost.cpp" />
<ClCompile Include="SDLHeadlessHost.cpp">
<Filter>Other Platforms</Filter>
</ClCompile>
<ClCompile Include="..\Windows\CaptureDevice.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="HeadlessHost.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="headless.txt" />
<None Include="..\test.py" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="StubHost.h" />
<ClInclude Include="Compare.h" />
<ClInclude Include="WindowsHeadlessHost.h">
<Filter>Windows</Filter>
@ -43,6 +42,7 @@
<ClInclude Include="SDLHeadlessHost.h">
<Filter>Other Platforms</Filter>
</ClInclude>
<ClInclude Include="HeadlessHost.h" />
</ItemGroup>
<ItemGroup>
<Filter Include="Windows">

View File

@ -22,7 +22,7 @@
#include "Core/System.h"
#include "GPU/Common/GPUDebugInterface.h"
#include "headless/Compare.h"
#include "headless/StubHost.h"
#include "headless/HeadlessHost.h"
void HeadlessHost::SendOrCollectDebugOutput(const std::string &data)
{

View File

@ -19,7 +19,7 @@
#ifdef SDL
#include "headless/StubHost.h"
#include "headless/HeadlessHost.h"
#undef HEADLESSHOST_CLASS
#define HEADLESSHOST_CLASS SDLHeadlessHost

View File

@ -17,7 +17,7 @@
#pragma once
#include "headless/StubHost.h"
#include "headless/HeadlessHost.h"
#include <thread>
#undef HEADLESSHOST_CLASS