Core: SetOnStoppedCallback -> SetOnStateChangedCallback

This commit is contained in:
Michael M committed 2017-09-13 17:30:18 -07:00
1 parent 22a9a08b24
commit 8e805dcbf4
5 files changed
+25 -11

No files matched your search

+2 -2
View File
@@ -85,8 +85,8 @@ void UpdateTitle();
void RunAsCPUThread(std::function<void()> function);
// for calling back into UI code without introducing a dependency on it in core
using StoppedCallbackFunc = std::function<void()>;
void SetOnStoppedCallback(StoppedCallbackFunc callback);
using StateChangedCallbackFunc = std::function<void(Core::State)>;
void SetOnStateChangedCallback(StateChangedCallbackFunc callback);
// Run on the Host thread when the factors change. [NOT THREADSAFE]
void UpdateWantDeterminism(bool initial = false);