| 1211 | qfindclose(&blk); |
| 1212 | } |
| 1213 | void load() |
| 1214 | { |
| 1215 | qstring basePath = getBasePath(); |
| 1216 | loadInlines(basePath.c_str(), this, true); |
| 1217 | size_t loaded = size(); |
| 1218 | if(loaded) |
| 1219 | Log(llNotice, "%d inlines are loaded from %s\n", (int)size(), basePath.c_str()); |
| 1220 | char dir[QMAXPATH]; |
| 1221 | if(qdirname(dir, QMAXPATH, get_path(PATH_TYPE_IDB))) { |
| 1222 | loadInlines(dir, this, false); |
| 1223 | if(size() > loaded) |
| 1224 | Log(llNotice, "%d inlines are loaded from %s\n", (int)size() - loaded, dir); |
| 1225 | } |
| 1226 | } |
| 1227 | }; |
| 1228 | |
| 1229 | static sInlinesLib inlinesLib; |
nothing calls this directly
no test coverage detected