2016-11-05 12:29:29 +00:00
|
|
|
// Copyright 2016 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// Intended for containing event functions that are bound to
|
|
|
|
// different window controls through wxEvtHandler's Bind()
|
|
|
|
// function.
|
|
|
|
|
|
|
|
class wxUpdateUIEvent;
|
|
|
|
|
|
|
|
namespace WxEventUtils
|
|
|
|
{
|
2016-11-06 13:48:12 +00:00
|
|
|
void OnEnableIfCoreInitialized(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfCoreUninitialized(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfCoreRunning(wxUpdateUIEvent&);
|
2016-11-05 12:29:29 +00:00
|
|
|
void OnEnableIfCoreNotRunning(wxUpdateUIEvent&);
|
2016-11-06 13:48:12 +00:00
|
|
|
void OnEnableIfCorePaused(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfCoreRunningOrPaused(wxUpdateUIEvent&);
|
|
|
|
|
|
|
|
void OnEnableIfCPUCanStep(wxUpdateUIEvent&);
|
|
|
|
|
2016-11-05 12:29:29 +00:00
|
|
|
void OnEnableIfNetplayNotRunning(wxUpdateUIEvent&);
|
|
|
|
} // namespace WxEventUtils
|