| 152 | } |
| 153 | |
| 154 | void Patch::connectUndoSystem(IUndoSystem& undoSystem) |
| 155 | { |
| 156 | assert(!_undoStateSaver); |
| 157 | |
| 158 | // Acquire a new state saver |
| 159 | _undoStateSaver = undoSystem.getStateSaver(*this); |
| 160 | } |
| 161 | |
| 162 | // Remove the attached instance and decrease the counters |
| 163 | void Patch::disconnectUndoSystem(IUndoSystem& undoSystem) |
no test coverage detected