| 117 | {} |
| 118 | |
| 119 | bool SequencerBase::next(bool canAbort) |
| 120 | { |
| 121 | this->nProgress++; |
| 122 | float fDiv = this->nTotalSteps > 0 ? static_cast<float>(this->nTotalSteps) : 1000.0F; |
| 123 | int perc = int((float(this->nProgress) * (100.0F / fDiv))); |
| 124 | |
| 125 | // do only an update if we have increased by one percent |
| 126 | if (perc > this->_nLastPercentage) { |
| 127 | this->_nLastPercentage = perc; |
| 128 | |
| 129 | // if not locked |
| 130 | if (!this->_bLocked) { |
| 131 | nextStep(canAbort); |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | return this->nProgress < this->nTotalSteps; |
| 136 | } |
| 137 | |
| 138 | void SequencerBase::nextStep(bool /*next*/) |
| 139 | {} |
no outgoing calls
no test coverage detected