| 122 | } |
| 123 | |
| 124 | void mitk::EventConfigPrivate::InsertMapping(const EventMapping &mapping) |
| 125 | { |
| 126 | for (auto it = m_EventList.begin(); it != m_EventList.end(); ++it) |
| 127 | { |
| 128 | if (*(it->interactionEvent) == *mapping.interactionEvent) |
| 129 | { |
| 130 | // MITK_INFO<< "Configuration overwritten:" << (*it).variantName; |
| 131 | m_EventList.erase(it); |
| 132 | break; |
| 133 | } |
| 134 | } |
| 135 | m_EventList.push_back(mapping); |
| 136 | } |
| 137 | |
| 138 | void mitk::EventConfigPrivate::CopyMapping(const EventListType eventList) |
| 139 | { |
no test coverage detected