mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
26 lines
733 B
C++
26 lines
733 B
C++
// 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
|
|
{
|
|
void OnEnableIfCoreInitialized(wxUpdateUIEvent&);
|
|
void OnEnableIfCoreUninitialized(wxUpdateUIEvent&);
|
|
void OnEnableIfCoreRunning(wxUpdateUIEvent&);
|
|
void OnEnableIfCoreNotRunning(wxUpdateUIEvent&);
|
|
void OnEnableIfCorePaused(wxUpdateUIEvent&);
|
|
void OnEnableIfCoreRunningOrPaused(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfCPUCanStep(wxUpdateUIEvent&);
|
|
|
|
void OnEnableIfNetplayNotRunning(wxUpdateUIEvent&);
|
|
} // namespace WxEventUtils
|