MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / IsLanguageAvailable

Method IsLanguageAvailable

cppcryptfs/cppcryptfs.cpp:180–185  ·  view source on GitHub ↗

Check: does this language exist in the resources (protection against outdated registry entries)

Source from the content-addressed store, hash-verified

178
179// Check: does this language exist in the resources (protection against outdated registry entries)
180bool CcppcryptfsApp::IsLanguageAvailable(WORD wLangID) {
181 for (const auto& opt : m_vAvailableLangs) {
182 if (opt.langID == wLangID) return true;
183 }
184 return false;
185}
186
187// Saving user selection to the registry
188void CcppcryptfsApp::SaveLanguageToRegistry(WORD wLangID) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected