| 288 | IC CStreamReader* CLocatorAPI::archive::stream(const char* fname, const struct file& desc) { return type == container::SQFS ? stream_sqfs(fname, desc) : stream_db(fname, desc); } |
| 289 | |
| 290 | IC void CLocatorAPI::archive::cleanup() |
| 291 | { |
| 292 | if (type == container::SQFS) |
| 293 | cleanup_sqfs(); |
| 294 | else |
| 295 | cleanup_db(); |
| 296 | } |
| 297 | |
| 298 | void CLocatorAPI::archive::close() |
| 299 | { |