mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
move module initialization into a module manager, still has some issues like stopping not working and debug crashing add #idef 0 to modules that aren't in the windows project don't double initialize and don't de-initialize for now, since many modules don't expect it and it leads to many errors remove duplicate module lists for empty modules and implemented ones, make Module non-copyable but movable add secondary project, no real use for it now add some memleak config to the emucore and add asmjit path to rpcs3 small rebase error fixed to get it to compile again add filters for emucore re-add the module manager and static file WIP commit, linker errors abound some more abstraction layer stuff fix the remaining linker errors, re-enable platform specific mouse, pad and keyboard handlers rebasing fix memset undefined and re() usage of se_t before declaration Add wxGUI define by default for cmake builds fix copy constructors of Datetime header fix copy constructors of other wx interface classes remove static declarations of global variables make wxGLCanvas constructor non-ambiguous even with wx2.8. compat mode, fix wrong std::exception constructor calls remove duplicate definition for FromUTF8 and ToUTF8 temp changes
48 lines
1.2 KiB
C++
48 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "Gui/Debugger.h"
|
|
|
|
#include <wx/aui/aui.h>
|
|
|
|
class GameViewer;
|
|
|
|
class MainFrame : public FrameBase
|
|
{
|
|
DebuggerPanel* m_debugger_frame;
|
|
GameViewer* m_game_viewer;
|
|
wxAuiManager m_aui_mgr;
|
|
bool m_sys_menu_opened;
|
|
|
|
public:
|
|
MainFrame();
|
|
~MainFrame();
|
|
|
|
void AddPane(wxWindow* wind, const wxString& caption, int flags);
|
|
void DoSettings(bool load);
|
|
|
|
private:
|
|
void OnQuit(wxCloseEvent& event);
|
|
|
|
void BootGame(wxCommandEvent& event);
|
|
void BootGameAndRun(wxCommandEvent& event);
|
|
void InstallPkg(wxCommandEvent& event);
|
|
void BootElf(wxCommandEvent& event);
|
|
void Pause(wxCommandEvent& event);
|
|
void Stop(wxCommandEvent& event);
|
|
void SendExit(wxCommandEvent& event);
|
|
void SendOpenCloseSysMenu(wxCommandEvent& event);
|
|
void Config(wxCommandEvent& event);
|
|
void ConfigPad(wxCommandEvent& event);
|
|
void ConfigVFS(wxCommandEvent& event);
|
|
void ConfigVHDD(wxCommandEvent& event);
|
|
void OpenELFCompiler(wxCommandEvent& evt);
|
|
void OpenMemoryViewer(wxCommandEvent& evt);
|
|
void OpenRSXDebugger(wxCommandEvent& evt);
|
|
void OpenFnIdGenerator(wxCommandEvent& evt);
|
|
void AboutDialogHandler(wxCommandEvent& event);
|
|
void UpdateUI(wxCommandEvent& event);
|
|
void OnKeyDown(wxKeyEvent& event);
|
|
|
|
private:
|
|
DECLARE_EVENT_TABLE()
|
|
};
|