MCPcopy Create free account
hub / github.com/ariccio/altWinDirStat / FindListIndex

Method FindListIndex

Reference code/osImageTool/OSImageTool.cpp:151–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 return true;
150}
151bool COSImageToolApp::FindListIndex(const string& str, int& index)
152{
153 if (stringicompare(str, "xdamemory")==0)
154 index= (int)m_sdcards.size();
155 else if (stringicompare(str, "xdasdslot")==0)
156 index= (int)m_sdcards.size()-1;
157 else if (stringicompare(str, "localsdcard")==0)
158 index= 0;
159 else
160 return false;
161
162 return true;
163}
164BOOL COSImageToolApp::InitInstance()
165{
166 DebugOutputDebugString();

Callers

nothing calls this directly

Calls 2

stringicompareFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected