| 176 | }; |
| 177 | |
| 178 | int CSkins7::SkinScan(const char *pName, int IsDir, int DirType, void *pUser) |
| 179 | { |
| 180 | if(IsDir || !str_endswith(pName, ".json")) |
| 181 | return 0; |
| 182 | |
| 183 | CSkinScanData *pScanData = static_cast<CSkinScanData *>(pUser); |
| 184 | pScanData->m_pThis->LoadSkin(pName, DirType); |
| 185 | pScanData->m_SkinLoadedCallback(); |
| 186 | return 0; |
| 187 | } |
| 188 | |
| 189 | bool CSkins7::LoadSkin(const char *pName, int DirType) |
| 190 | { |
nothing calls this directly
no test coverage detected