rpcs3/rpcs3/main_application.h

21 lines
426 B
C++

#pragma once
#include "stdafx.h"
#include <QWindow>
#include "Emu/System.h"
class main_application
{
public:
virtual void Init() = 0;
static bool InitializeEmulator(const std::string& user, bool force_init);
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.
};