2016-11-05 06:29:29 -06: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 06:48:12 -07:00
|
|
|
void OnEnableIfCoreInitialized(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfCoreUninitialized(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfCoreRunning(wxUpdateUIEvent&);
|
2016-11-05 06:29:29 -06:00
|
|
|
void OnEnableIfCoreNotRunning(wxUpdateUIEvent&);
|
2016-11-06 06:48:12 -07:00
|
|
|
void OnEnableIfCorePaused(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfCoreRunningOrPaused(wxUpdateUIEvent&);
|
|
|
|
|
|
|
|
void OnEnableIfCPUCanStep(wxUpdateUIEvent&);
|
|
|
|
|
2016-11-05 06:29:29 -06:00
|
|
|
void OnEnableIfNetplayNotRunning(wxUpdateUIEvent&);
|
|
|
|
} // namespace WxEventUtils
|