mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
header shuffling
This commit is contained in:
parent
8debdfcd09
commit
2040a11585
@ -142,7 +142,7 @@ int main(int argc, char** argv)
|
||||
app->setApplicationVersion(qstr(rpcs3::version.to_string()));
|
||||
app->setApplicationName("RPCS3");
|
||||
|
||||
if (auto gui_app = qobject_cast<gui_application*>(app.get()))
|
||||
if (auto gui_app = qobject_cast<gui_application*>(app.data()))
|
||||
{
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
app->setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
@ -155,7 +155,7 @@ int main(int argc, char** argv)
|
||||
|
||||
gui_app->Init();
|
||||
}
|
||||
else if (auto non_gui_app = qobject_cast<rpcs3_app*>(app.get()))
|
||||
else if (auto non_gui_app = qobject_cast<rpcs3_app*>(app.data()))
|
||||
{
|
||||
non_gui_app->Init();
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include "main_application.h"
|
||||
|
||||
#include "pad_thread.h"
|
||||
#include "Emu/Io/Null/NullPadHandler.h"
|
||||
#include "Emu/Io/Null/NullKeyboardHandler.h"
|
||||
#include "Emu/Io/Null/NullMouseHandler.h"
|
||||
@ -31,6 +32,16 @@
|
||||
#include "Emu/Audio/Pulse/PulseBackend.h"
|
||||
#endif
|
||||
|
||||
#include "Emu/RSX/GSRender.h"
|
||||
#include "Emu/RSX/Null/NullGSRender.h"
|
||||
#include "Emu/RSX/GL/GLGSRender.h"
|
||||
#ifdef _MSC_VER
|
||||
#include "Emu/RSX/D3D12/D3D12GSRender.h"
|
||||
#endif
|
||||
#if defined(_WIN32) || defined(HAVE_VULKAN)
|
||||
#include "Emu/RSX/VK/VKGSRender.h"
|
||||
#endif
|
||||
|
||||
/** Emu.Init() wrapper for user manager */
|
||||
bool main_application::InitializeEmulator(const std::string& user, bool force_init)
|
||||
{
|
||||
|
@ -1,20 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "Emu/RSX/GSRender.h"
|
||||
#include "Emu/RSX/Null/NullGSRender.h"
|
||||
#include "Emu/RSX/GL/GLGSRender.h"
|
||||
#ifdef _MSC_VER
|
||||
#include "Emu/RSX/D3D12/D3D12GSRender.h"
|
||||
#endif
|
||||
#if defined(_WIN32) || defined(HAVE_VULKAN)
|
||||
#include "Emu/RSX/VK/VKGSRender.h"
|
||||
#endif
|
||||
|
||||
#include <QWindow>
|
||||
#include "Emu/System.h"
|
||||
|
||||
class main_application
|
||||
{
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "Emu/RSX/GSRender.h"
|
||||
|
||||
// For now, a trivial constructor/destructor. May add command line usage later.
|
||||
rpcs3_app::rpcs3_app(int& argc, char** argv) : QCoreApplication(argc, argv)
|
||||
{
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "main_application.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include "main_application.h"
|
||||
|
||||
/** RPCS3 Application Class
|
||||
* The point of this class is to do application initialization and to hold onto the main window. The main thing I intend this class to do, for now, is to initialize callbacks and the main_window.
|
||||
*/
|
||||
|
@ -2,17 +2,17 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "main_application.h"
|
||||
#include <QApplication>
|
||||
#include <QFontDatabase>
|
||||
#include <QIcon>
|
||||
|
||||
#include "main_window.h"
|
||||
#include "main_application.h"
|
||||
#include "emu_settings.h"
|
||||
#include "gui_settings.h"
|
||||
#include "gs_frame.h"
|
||||
#include "gl_gs_frame.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QFontDatabase>
|
||||
#include <QIcon>
|
||||
|
||||
class gui_application : public QApplication, public main_application
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -1,4 +1,9 @@
|
||||
#include "user_manager_dialog.h"
|
||||
#include <QRegExpValidator>
|
||||
#include <QInputDialog>
|
||||
#include <QKeyEvent>
|
||||
#include <QEvent>
|
||||
|
||||
#include "user_manager_dialog.h"
|
||||
#include "table_item_delegate.h"
|
||||
#include "main_application.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user