MCPcopy Create free account
hub / github.com/LibreVR/Revive / SharedInstance

Method SharedInstance

ReviveOverlay/trayiconcontroller.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18CTrayIconController *s_pSharedTrayController = NULL;
19
20CTrayIconController *CTrayIconController::SharedInstance()
21{
22 if ( !s_pSharedTrayController )
23 {
24 s_pSharedTrayController = new CTrayIconController();
25 }
26 return s_pSharedTrayController;
27}
28
29CTrayIconController::CTrayIconController()
30 : BaseClass()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected