mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
c37905e465
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
47 lines
1018 B
C++
47 lines
1018 B
C++
#pragma once
|
|
|
|
extern std::string rMessageBoxCaptionStr;// = "Message";
|
|
|
|
enum MsgBoxParams : unsigned long
|
|
{
|
|
rOK = 0x4
|
|
, rYES =0x2//res
|
|
, rNO = 0x8 //res
|
|
, rID_YES = 5103 //resDialog
|
|
, rCANCEL = 0x10
|
|
, rYES_NO = 0xA
|
|
, rHELP = 0x1000
|
|
, rNO_DEFAULT = 0x80
|
|
, rCANCEL_DEFAULT = 0x80000000
|
|
, rYES_DEFAULT = 0x0
|
|
, rOK_DEFAULT = 0x0
|
|
, rICON_NONE = 0x40000
|
|
, rICON_EXCLAMATION = 0x100
|
|
, rICON_ERROR = 0x200
|
|
, rICON_HAND = 0x200
|
|
, rICON_QUESTION = 0x400
|
|
, rICON_INFORMATION = 0x800
|
|
, rICON_AUTH_NEEDED = 0x80000
|
|
, rSTAY_ON_TOP = 0x8000
|
|
, rCENTRE = 0x1
|
|
};
|
|
|
|
struct rMessageDialog
|
|
{
|
|
rMessageDialog(void *parent, const std::string& msg, const std::string& title = rMessageBoxCaptionStr, long style = rOK | rCENTRE);
|
|
rMessageDialog(const rMessageDialog& other) = delete;
|
|
~rMessageDialog();
|
|
long ShowModal();
|
|
void *handle;
|
|
};
|
|
|
|
long rMessageBox(const std::string& message, const std::string& title,long style);
|
|
|
|
struct dummyApp
|
|
{
|
|
dummyApp();
|
|
std::string GetAppName();
|
|
void* handle;
|
|
};
|
|
|
|
dummyApp& rGetApp(); |