mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
added ordered-flag to Operation (currently ignored)
This commit is contained in:
parent
077a157841
commit
f4c03c6a29
@ -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()
|
CSMDoc::Operation::~Operation()
|
||||||
{
|
{
|
||||||
|
@ -19,12 +19,14 @@ namespace CSMDoc
|
|||||||
int mCurrentStep;
|
int mCurrentStep;
|
||||||
int mCurrentStepTotal;
|
int mCurrentStepTotal;
|
||||||
int mTotalSteps;
|
int mTotalSteps;
|
||||||
|
int mOrdered;
|
||||||
|
|
||||||
void prepareStages();
|
void prepareStages();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Operation (int type);
|
Operation (int type, bool ordered);
|
||||||
|
///< \param parallel Stages must be executed in the given order.
|
||||||
|
|
||||||
virtual ~Operation();
|
virtual ~Operation();
|
||||||
|
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
|
|
||||||
#include "../doc/state.hpp"
|
#include "../doc/state.hpp"
|
||||||
|
|
||||||
CSMTools::Verifier::Verifier() : Operation (CSMDoc::State_Verifying)
|
CSMTools::Verifier::Verifier() : Operation (CSMDoc::State_Verifying, false)
|
||||||
{}
|
{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user