Core: SetOnStoppedCallback -> SetOnStateChangedCallback
This commit is contained in:
1 parent
22a9a08b24
commit
8e805dcbf4
5 files changed
+25
-11
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user