1 #ifndef MYTHUISTATETRACKER_H
2 #define MYTHUISTATETRACKER_H
5 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
8 #include <QRecursiveMutex>
17 static void SetState(
const QVariantMap& NewState);
19 static void GetFreshState(QVariantMap&
State);
23 static std::chrono::milliseconds TimeSinceLastUpdate();
25 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
26 static inline QMutex gUIStateLock { QMutex::Recursive };