MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / Get

Method Get

cpp/src/Localization.cpp:806–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804
805
806Localization *Localization::Get
807(
808)
809{
810 if ( m_instance != NULL )
811 {
812 return m_instance;
813 }
814 m_instance = new Localization();
815 ReadXML();
816 Options::Get()->GetOptionAsString( "Language", &m_selectedLang );
817 return m_instance;
818}

Callers

nothing calls this directly

Calls 2

GetOptionAsStringMethod · 0.80
GetFunction · 0.70

Tested by

no test coverage detected