5 Star 23 Fork 6

Acreate / gamePlanTool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
singletonLoadThread.cpp 630 Bytes
一键复制 编辑 原始数据 按行查看 历史
#include "singletonLoadThread.h"
#include "LoadDiscDirInfoThread.h"
lThread::LoadDiscDirInfoThread* appInstances::LoadDiscDirInfoThread::GetSigInstanceInstance(const bool release
, const SigInstance* sigInstance
, QWidget* paren) {
static lThread::LoadDiscDirInfoThread* instance = Q_NULLPTR;
static bool isRentry = false;
if( release && instance != Q_NULLPTR ) {
instance->releaseResources( );
delete instance;
instance = Q_NULLPTR;
return instance;
}
if( instance == Q_NULLPTR && !release && paren && sigInstance ) {
instance = new lThread::LoadDiscDirInfoThread(sigInstance, paren);
}
return instance;
}
C++
1
https://gitee.com/ChenYLhuman/gamePlanTool.git
git@gitee.com:ChenYLhuman/gamePlanTool.git
ChenYLhuman
gamePlanTool
gamePlanTool
master

搜索帮助