----------------------------------------------------------------------------- Save the configuration of a driver to a file -----------------------------------------------------------------------------
| 291 | // Save the configuration of a driver to a file |
| 292 | //----------------------------------------------------------------------------- |
| 293 | void Manager::WriteConfig |
| 294 | ( |
| 295 | uint32 const _homeId |
| 296 | ) |
| 297 | { |
| 298 | if( Driver* driver = GetDriver( _homeId ) ) |
| 299 | { |
| 300 | driver->WriteCache(); |
| 301 | Log::Write( LogLevel_Info, "mgr, Manager::WriteConfig completed for driver with home ID of 0x%.8x", _homeId ); |
| 302 | } |
| 303 | else |
| 304 | { |
| 305 | Log::Write( LogLevel_Info, "mgr, Manager::WriteConfig failed - _homeId %d not found", _homeId ); |
| 306 | } |
| 307 | Scene::WriteXML( "zwscene.xml" ); |
| 308 | } |
| 309 | |
| 310 | //----------------------------------------------------------------------------- |
| 311 | // Drivers |
no test coverage detected