无
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <QThread>
|
||||
#include <qrgb.h>
|
||||
|
||||
extern int qInitResources_resource();
|
||||
namespace YSG {
|
||||
class LIB_DECL TimerThread : public QThread {
|
||||
Q_OBJECT
|
||||
@@ -14,8 +15,11 @@ namespace YSG {
|
||||
void run() override;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class LIB_DECL Global : public QObject, public Psc::Singleton<Global> {
|
||||
public:
|
||||
int r = qInitResources_resource();
|
||||
int mTimerId{};
|
||||
QMap<QString, TimerThread*> mTimerThreadMap;
|
||||
int mInterval = 10;
|
||||
|
||||
Reference in New Issue
Block a user