alias OnMachineStateChange type

This commit is contained in:
Zer0xFF 2022-01-18 17:45:57 +00:00
parent c0421f4db6
commit 7a9895927a
3 changed files with 4 additions and 3 deletions

View file

@ -16,7 +16,8 @@ public:
virtual void Pause() = 0;
virtual void Resume() = 0;
Framework::CSignal<void()> OnMachineStateChange;
using MachineStateChangeEvent = Framework::CSignal<void()>;
MachineStateChangeEvent OnMachineStateChange;
using RunningStateChangeEvent = Framework::CSignal<void()>;
RunningStateChangeEvent OnRunningStateChange;
};

View file

@ -42,6 +42,6 @@ private:
uint32 m_vuMemPacketAddress;
Framework::CSignal<void()>::Connection m_OnMachineStateChangeConnection;
CVirtualMachine::MachineStateChangeEvent::Connection m_OnMachineStateChangeConnection;
CVirtualMachine::RunningStateChangeEvent::Connection m_OnRunningStateChangeConnection;
};

View file

@ -133,7 +133,7 @@ private:
CAddressListViewWnd::AddressSelectedEvent::Connection m_AddressSelectedConnection;
Framework::CSignal<void()>::Connection m_OnExecutableChangeConnection;
Framework::CSignal<void()>::Connection m_OnExecutableUnloadingConnection;
Framework::CSignal<void()>::Connection m_OnMachineStateChangeConnection;
CVirtualMachine::MachineStateChangeEvent::Connection m_OnMachineStateChangeConnection;
CVirtualMachine::RunningStateChangeEvent::Connection m_OnRunningStateChangeConnection;
CDisAsmWnd::FindCallersRequestedEvent::Connection m_findCallersRequestConnection;