rpcsx/rpcs3/main_application.h

22 lines
434 B
C
Raw Normal View History

2020-12-05 13:08:24 +01:00
#pragma once
2019-06-18 04:02:06 +02:00
2020-02-22 20:42:49 +01:00
#include <string>
2019-06-18 04:02:06 +02:00
#include <QWindow>
struct EmuCallbacks;
2019-06-18 04:02:06 +02:00
class main_application
{
public:
virtual void Init() = 0;
2019-06-18 04:02:06 +02:00
static bool InitializeEmulator(const std::string& user, bool force_init, bool show_gui);
2019-06-18 04:02:06 +02:00
protected:
virtual QThread* get_thread() = 0;
EmuCallbacks CreateCallbacks();
QWindow* m_game_window = nullptr; // (Currently) only needed so that pad handlers have a valid target for event filtering.
};