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:
parent
077a157841
commit
f4c03c6a29
3 changed files with 5 additions and 3 deletions
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
#include "../doc/state.hpp"
|
||||
|
||||
CSMTools::Verifier::Verifier() : Operation (CSMDoc::State_Verifying)
|
||||
CSMTools::Verifier::Verifier() : Operation (CSMDoc::State_Verifying, false)
|
||||
{}
|
||||
|
|
Loading…
Reference in a new issue