Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AgoraIO/API-Examples
/ GetInstance
Method
GetInstance
windows/APIExample/APIExample/CConfig.cpp:3–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#include
"stdafx.h"
2
#include
"CConfig.h"
3
CConfig* CConfig::GetInstance()
4
{
5
static CConfig config;
6
return &config;
7
}
8
9
CConfig::CConfig()
10
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected