mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
35
src/gui/CemuApp.h
Normal file
35
src/gui/CemuApp.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
#pragma once
|
||||
|
||||
#include <wx/app.h>
|
||||
|
||||
class MainWindow;
|
||||
|
||||
class CemuApp : public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit() override;
|
||||
int OnExit() override;
|
||||
|
||||
void OnAssertFailure(const wxChar* file, int line, const wxChar* func, const wxChar* cond, const wxChar* msg) override;
|
||||
int FilterEvent(wxEvent& event) override;
|
||||
|
||||
const std::vector<const wxLanguageInfo*>& GetLanguages() const { return m_languages; }
|
||||
static std::vector<const wxLanguageInfo*> GetAvailableLanguages();
|
||||
|
||||
static void CreateDefaultFiles(bool first_start = false);
|
||||
static bool SelectMLCPath(wxWindow* parent = nullptr);
|
||||
|
||||
static wxString GetCemuPath();
|
||||
static wxString GetCemuPath(const wxString& cat);
|
||||
static wxString GetMLCPath();
|
||||
static wxString GetMLCPath(const wxString& cat);
|
||||
private:
|
||||
void ActivateApp(wxActivateEvent& event);
|
||||
|
||||
MainWindow* m_mainFrame = nullptr;
|
||||
|
||||
wxLocale m_locale;
|
||||
std::vector<const wxLanguageInfo*> m_languages;
|
||||
};
|
||||
|
||||
wxDECLARE_APP(CemuApp);
|
Loading…
Add table
Add a link
Reference in a new issue