| 146 | //============================================================================// |
| 147 | |
| 148 | void EventHandler::Purify() { |
| 149 | if (!dirtyLists.empty()) { |
| 150 | debugf(3, "EventHandler::Purify() purifying %i list\n", |
| 151 | (int)dirtyLists.size()); |
| 152 | } |
| 153 | std::set<EventClientList*>::iterator it; |
| 154 | for (it = dirtyLists.begin(); it != dirtyLists.end(); ++it) { |
| 155 | (*it)->purify(); |
| 156 | } |
| 157 | dirtyLists.clear(); |
| 158 | } |
| 159 | |
| 160 | |
| 161 | void EventHandler::AddClient(EventClient* ec) { |