Common: Move IniInterface to WX GUI

Qt doesn't use it.
This commit is contained in:
Connor McLaughlin 2022-04-12 19:06:11 +10:00 committed by refractionpcsx2
parent 876ea3db52
commit 80aaa962ec
22 changed files with 26 additions and 22 deletions

View File

@ -19,7 +19,6 @@ target_sources(common PRIVATE
FastFormatString.cpp
FastJmp.cpp
FileSystem.cpp
IniInterface.cpp
Mutex.cpp
Misc.cpp
MD5Digest.cpp

View File

@ -58,7 +58,6 @@
<ClCompile Include="GL\ShaderCache.cpp" />
<ClCompile Include="GL\StreamBuffer.cpp" />
<ClCompile Include="FileSystem.cpp" />
<ClCompile Include="IniInterface.cpp" />
<ClCompile Include="MD5Digest.cpp" />
<ClCompile Include="ProgressCallback.cpp" />
<ClCompile Include="pxTranslate.cpp" />

View File

@ -25,9 +25,6 @@
<ClCompile Include="emitter\groups.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="IniInterface.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="emitter\jmp.cpp">
<Filter>Source Files</Filter>
</ClCompile>

View File

@ -1109,6 +1109,7 @@ set(pcsx2GuiSources
gui/ExecutorThread.cpp
gui/FrameForGS.cpp
gui/GlobalCommands.cpp
gui/IniInterface.cpp
gui/i18n.cpp
gui/IsoDropTarget.cpp
gui/MainFrame.cpp
@ -1172,6 +1173,7 @@ set(pcsx2GuiHeaders
gui/DriveList.h
gui/GSFrame.h
gui/i18n.h
gui/IniInterface.h
gui/IsoDropTarget.h
gui/MainFrame.h
gui/MSWstuff.h

View File

@ -19,10 +19,10 @@
#include <wx/fileconf.h>
#include "DEV9.h"
#include "common/IniInterface.h"
#ifndef PCSX2_CORE
#include "gui/AppConfig.h"
#include "gui/IniInterface.h"
#endif
#ifdef _WIN32

View File

@ -16,8 +16,7 @@
#include "PrecompiledHeader.h"
#include "App.h"
#include "MainFrame.h"
#include "common/IniInterface.h"
#include "IniInterface.h"
#include "common/SettingsWrapper.h"
#include "wxSettingsInterface.h"

View File

@ -16,8 +16,8 @@
#pragma once
#include "common/EventSource.h"
#include "gui/IniInterface.h"
#include "gui/pxEvents.h"
#include "common/IniInterface.h"
enum CoreThreadStatus
{

View File

@ -15,7 +15,7 @@
#include "PrecompiledHeader.h"
#include "App.h"
#include "common/IniInterface.h"
#include "IniInterface.h"
#include "common/EventSource.inl"
template class EventSource< IEventListener_CoreThread >;

View File

@ -19,8 +19,8 @@
#include "ConsoleLogger.h"
#include "MSWstuff.h"
#include "MTVU.h" // for thread cancellation on shutdown
#include "IniInterface.h"
#include "common/IniInterface.h"
#include "common/StringUtil.h"
#include "DebugTools/Debug.h"
#include "Dialogs/ModalPopups.h"

View File

@ -21,6 +21,7 @@
#include "Host.h"
#include "AppSaveStates.h"
#include "AppAccelerators.h"
#include "IniInterface.h"
#include "PAD/Gamepad.h"
#include "ps2/BiosTools.h"
@ -36,7 +37,6 @@
# include "Recording/InputRecording.h"
#endif
#include "common/IniInterface.h"
#include "common/FileSystem.h"
#include "common/StringUtil.h"
#include "common/AppTrait.h"

View File

@ -15,7 +15,7 @@
#include "PrecompiledHeader.h"
#include "MainFrame.h"
#include "common/IniInterface.h"
#include "gui/IniInterface.h"
#include "Dialogs/ModalPopups.h"
#include <wx/stdpaths.h>

View File

@ -19,9 +19,9 @@
#include "ConsoleLogger.h"
#include "MSWstuff.h"
#include "Host.h"
#include "IniInterface.h"
#include "common/Console.h"
#include "common/IniInterface.h"
#include "common/SafeArray.inl"
#include "Dialogs/LogOptionsDialog.h"
#include "DebugTools/Debug.h"

View File

@ -15,7 +15,7 @@
#include <wx/gdicmn.h>
#include "common/IniInterface.h"
#include "gui/IniInterface.h"
#include "common/Console.h"
const wxRect wxDefaultRect(wxDefaultCoord, wxDefaultCoord, wxDefaultCoord, wxDefaultCoord);

View File

@ -15,7 +15,7 @@
#pragma once
#include "Path.h"
#include "common/Path.h"
#include <wx/config.h>
#include <wx/gdicmn.h>
#include <string>

View File

@ -19,6 +19,7 @@
#include "CDVD/CDVD.h"
#include "GS.h"
#include "GSFrame.h"
#include "IniInterface.h"
#include "SPU2/spu2.h"
#include "System/SysThreads.h"
#include "DEV9/DEV9.h"
@ -33,7 +34,6 @@
#include "Dialogs/ConfigurationDialog.h"
#include "Debugger/DisassemblyDialog.h"
#include "common/IniInterface.h"
#include "fmt/core.h"
#include "wx/numdlg.h"

View File

@ -16,7 +16,7 @@
#include "PrecompiledHeader.h"
#include "LogOptionsPanels.h"
#include "common/IniInterface.h"
#include "gui/IniInterface.h"
#include "DebugTools/Debug.h"
#include <wx/statline.h>

View File

@ -22,7 +22,7 @@
#include "MemoryCardPanels.h"
#include "gui/Dialogs/ConfigurationDialog.h"
#include "common/IniInterface.h"
#include "gui/IniInterface.h"
#include "common/StringUtil.h"
#include "Sio.h"

View File

@ -19,7 +19,7 @@
#include "gui/Dialogs/ConfigurationDialog.h"
#include "common/IniInterface.h"
#include "gui/IniInterface.h"
using namespace pxSizerFlags;
using namespace Panels;

View File

@ -18,7 +18,7 @@
#include "AppCoreThread.h"
#include "RecentIsoList.h"
#include "IsoDropTarget.h"
#include "common/IniInterface.h"
#include "IniInterface.h"
extern wxString GetMsg_IsoImageChanged();

View File

@ -20,7 +20,7 @@
#include <wx/spinctrl.h>
#include "common/General.h"
#include "common/Threading.h"
#include "common/IniInterface.h"
#include "gui/IniInterface.h"
#include "gui/wxGuiTools.h"
#include "gui/pxStaticText.h"

View File

@ -349,6 +349,7 @@
<ClCompile Include="gui\Dialogs\GSDumpDialog.cpp" />
<ClCompile Include="gui\Dialogs\McdConfigDialog.cpp" />
<ClCompile Include="gui\DriveList.cpp" />
<ClCompile Include="gui\IniInterface.cpp" />
<ClCompile Include="gui\Panels\MemoryCardListView.cpp" />
<ClCompile Include="gui\pxCheckBox.cpp" />
<ClCompile Include="gui\pxRadioPanel.cpp" />
@ -797,6 +798,7 @@
<ClInclude Include="gui\CheckedStaticBox.h" />
<ClInclude Include="gui\i18n.h" />
<ClInclude Include="gui\DriveList.h" />
<ClInclude Include="gui\IniInterface.h" />
<ClInclude Include="gui\pxCheckBox.h" />
<ClInclude Include="gui\pxEvents.h" />
<ClInclude Include="gui\pxRadioPanel.h" />

View File

@ -1766,6 +1766,9 @@
<ClCompile Include="x86\iR5900Analysis.cpp">
<Filter>System\Ps2\EmotionEngine\EE\Dynarec</Filter>
</ClCompile>
<ClCompile Include="gui\IniInterface.cpp">
<Filter>AppHost</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Patch.h">
@ -2933,6 +2936,9 @@
<ClInclude Include="x86\iR5900Analysis.h">
<Filter>System\Ps2\EmotionEngine\EE\Dynarec</Filter>
</ClInclude>
<ClInclude Include="gui\IniInterface.h">
<Filter>AppHost</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="windows\wxResources.rc">