1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 06:53:54 +00:00

added ordered-flag to Operation (currently ignored)

This commit is contained in:
Marc Zinnschlag 2013-09-14 15:12:24 +02:00
parent 077a157841
commit f4c03c6a29
3 changed files with 5 additions and 3 deletions

View file

@ -23,7 +23,7 @@ void CSMDoc::Operation::prepareStages()
}
}
CSMDoc::Operation::Operation (int type) : mType (type) {}
CSMDoc::Operation::Operation (int type, bool ordered) : mType (type), mOrdered (ordered) {}
CSMDoc::Operation::~Operation()
{

View file

@ -19,12 +19,14 @@ namespace CSMDoc
int mCurrentStep;
int mCurrentStepTotal;
int mTotalSteps;
int mOrdered;
void prepareStages();
public:
Operation (int type);
Operation (int type, bool ordered);
///< \param parallel Stages must be executed in the given order.
virtual ~Operation();

View file

@ -3,5 +3,5 @@
#include "../doc/state.hpp"
CSMTools::Verifier::Verifier() : Operation (CSMDoc::State_Verifying)
CSMTools::Verifier::Verifier() : Operation (CSMDoc::State_Verifying, false)
{}