| 554 | } |
| 555 | |
| 556 | void mitk::ToolManager::UnregisterClient() |
| 557 | { |
| 558 | if (m_RegisteredClients < 1) |
| 559 | return; |
| 560 | |
| 561 | --m_RegisteredClients; |
| 562 | if (m_RegisteredClients < 1) |
| 563 | { |
| 564 | if (m_ActiveTool) |
| 565 | { |
| 566 | m_ActiveTool->Deactivated(); |
| 567 | m_ActiveToolRegistration.Unregister(); |
| 568 | } |
| 569 | } |
| 570 | } |
| 571 | |
| 572 | int mitk::ToolManager::GetToolID(const Tool *tool) |
| 573 | { |
no test coverage detected