mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Abstract class for MsgDialog interface
This commit is contained in:
parent
cfb41c4dab
commit
00205bfa58
8 changed files with 227 additions and 237 deletions
|
|
@ -43,6 +43,8 @@ Rpcs3App* TheApp;
|
|||
|
||||
std::string simplify_path(const std::string& path, bool is_dir);
|
||||
|
||||
extern std::unique_ptr<MsgDialogInstance> g_msg_dialog;
|
||||
|
||||
bool Rpcs3App::OnInit()
|
||||
{
|
||||
static const wxCmdLineEntryDesc desc[]
|
||||
|
|
@ -134,7 +136,7 @@ bool Rpcs3App::OnInit()
|
|||
return new GLGSFrame();
|
||||
});
|
||||
|
||||
SetMsgDialogCallbacks(MsgDialogCreate, MsgDialogDestroy, MsgDialogProgressBarSetMsg, MsgDialogProgressBarReset, MsgDialogProgressBarInc);
|
||||
g_msg_dialog.reset(new MsgDialogFrame);
|
||||
|
||||
TheApp = this;
|
||||
SetAppName(_PRGNAME_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue