mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
add data Items
This commit is contained in:
19
model/datacenter.cpp
Normal file
19
model/datacenter.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include "datacenter.h"
|
||||
|
||||
namespace model
|
||||
{
|
||||
DataCenter* DataCenter::instance = nullptr;
|
||||
|
||||
DataCenter* DataCenter::getInstance()
|
||||
{
|
||||
if (instance == nullptr) {
|
||||
instance = new DataCenter();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
DataCenter::DataCenter()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user