Allow opening a file and starting Dolphin on OS X by clicking

a document icon.

Don't bother creating the game list until after an automatic
start has finished and with the -b option, not at all.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6884 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-01-20 03:26:51 +00:00
parent ff06b4c817
commit 82422371f3
4 changed files with 32 additions and 14 deletions

View File

@ -25,14 +25,16 @@ class CFrame;
class DolphinApp : public wxApp
{
public:
CFrame* GetCFrame();
private:
bool OnInit();
void OnEndSession();
int OnExit();
void OnFatalException();
CFrame* GetCFrame();
void InitLanguageSupport();
void MacOpenFile(const wxString &fileName);
private:
DECLARE_EVENT_TABLE()
wxTimer *m_afterinit;