Thu, 06 Nov 2014 15:49:02 +0200
- closed old head
#include "main.h" class Ui_IntegrityScan; class IntegrityScan { public: class Procedure { public: Procedure (IntegrityScan* scan); virtual int numIterations() const = 0; virtual int currentIteration() const = 0; virtual void work() = 0; DELETE_COPY (Procedure) }; IntegrityScan(); ~IntegrityScan(); DELETE_COPY (IntegrityScan) LDDocumentPtr document() const; private: Ui_IntegrityScan ui; QVector<QSharedPtr<Procedure>> m_procedures; LDDocumentPtr m_document; }; class DoubleLineScan : public IntegrityScan::Procedure { public: DoubleLineScan (IntegrityScan* scan); int numIterations() const override; int currentIteration() const override; void work(); private: int m_i = 0; };