Rev 2082 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2082 | Rev 2164 | ||
|---|---|---|---|
| Line 330... | Line 330... | ||
| 330 | it->second->Reset(); |
330 | it->second->Reset(); |
| 331 | 331 | ||
| 332 | LOG_DEBUG_EXIT; |
332 | LOG_DEBUG_EXIT; |
| 333 | 333 | ||
| 334 | return true; |
334 | return true; |
| - | 335 | } |
|
| - | 336 | ||
| - | 337 | unsigned int Manager::GetProgramProgress(Node::Id node_id) |
|
| - | 338 | { |
|
| - | 339 | LOG_DEBUG_ENTER; |
|
| - | 340 | ||
| - | 341 | NodeList::iterator it = this->nodes_.find(node_id); |
|
| - | 342 | ||
| - | 343 | if (it == this->nodes_.end()) |
|
| - | 344 | { |
|
| - | 345 | log::Error(log_module_, "Could not find node %s.", node_id.c_str()); |
|
| - | 346 | return 0; |
|
| - | 347 | } |
|
| - | 348 | ||
| - | 349 | return it->second->GetProgramProgress(); |
|
| - | 350 | ||
| - | 351 | LOG_DEBUG_EXIT; |
|
| 335 | } |
352 | } |
| 336 | 353 | ||
| 337 | bool Manager::ProgramNode(Node::Id node_id, bool is_bios, std::string filename) |
354 | bool Manager::ProgramNode(Node::Id node_id, bool is_bios, std::string filename) |
| 338 | { |
355 | { |
| 339 | LOG_DEBUG_ENTER; |
356 | LOG_DEBUG_ENTER; |