Files
rpcs3/rpcs3/main_application.h
Megamouse be509deda0 Move emu callbacks to own file
Reduces some System.h includes
2026-09-15 22:01:55 +02:00

36 lines
605 B
C++

#pragma once
#include "rpcs3qt/render_creator.h"
#include <string>
#include <QThread>
struct EmuCallbacks;
class gs_frame;
class main_application
{
public:
main_application();
virtual void Init() = 0;
static void InitializeEmulator(const std::string& user, bool show_gui, bool headless);
void SetActiveUser(const std::string& user)
{
m_active_user = user;
}
protected:
virtual QThread* get_thread() = 0;
void OnEmuSettingsChange();
virtual void create_callbacks();
std::shared_ptr<render_creator> m_render_creator;
std::string m_active_user;
gs_frame* m_game_window = nullptr;
};