| 343 | } |
| 344 | |
| 345 | void ManufacturerSpecificDB::configDownloaded |
| 346 | ( |
| 347 | Driver *driver, |
| 348 | string file, |
| 349 | uint8 node, |
| 350 | bool success |
| 351 | ) |
| 352 | { |
| 353 | /* check if we are downloading already */ |
| 354 | std::list<string>::iterator iter = std::find (m_downloading.begin(), m_downloading.end(), file); |
| 355 | if (iter != m_downloading.end()) { |
| 356 | m_downloading.erase(iter); |
| 357 | if ((node > 0) && success) { |
| 358 | driver->refreshNodeConfig(node); |
| 359 | } else { |
| 360 | checkInitialized(); |
| 361 | } |
| 362 | } else { |
| 363 | Log::Write(LogLevel_Warning, "File is not in the list of downloading files: %s", file.c_str()); |
| 364 | checkInitialized(); |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | void ManufacturerSpecificDB::mfsConfigDownloaded |
| 369 | ( |
no test coverage detected