Wed, 22 Oct 2014 16:10:52 +0300
- added integrity scan first steps
#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; };