1 #ifndef CSM_DOC_OPERATION_H
2 #define CSM_DOC_OPERATION_H
27 std::vector<std::pair<Stage *, int> >
mStages;
44 Operation (
int type,
bool ordered,
bool finalAlways =
false);
62 void progress (
int current,
int max,
int type);
66 void done (
int type,
bool failed);
virtual ~Operation()
Definition: operation.cpp:37
bool mPrepared
Definition: operation.hpp:37
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
static const struct @2 signals[]
Definition: operation.hpp:22
QTimer * mTimer
Definition: operation.hpp:36
void reportMessage(const CSMDoc::Message &message, int type)
void run()
Definition: operation.cpp:43
void appendStage(Stage *stage)
Definition: operation.cpp:58
int mType
Definition: operation.hpp:26
int mCurrentStepTotal
Definition: operation.hpp:30
int mCurrentStep
Definition: operation.hpp:29
void progress(int current, int max, int type)
void prepareStages()
Definition: operation.cpp:13
Operation(int type, bool ordered, bool finalAlways=false)
Definition: operation.cpp:28
Definition: messages.hpp:13
bool hasError() const
Definition: operation.cpp:68
void abort()
Definition: operation.cpp:73
bool mFinalAlways
Definition: operation.hpp:33
int mTotalSteps
Definition: operation.hpp:31
void executeStage()
Definition: operation.cpp:92
void setDefaultSeverity(Message::Severity severity)
Definition: operation.cpp:63
Severity
Definition: messages.hpp:15
int mOrdered
Definition: operation.hpp:32
Message::Severity mDefaultSeverity
Definition: operation.hpp:38
void done(int type, bool failed)
std::vector< std::pair< Stage *, int > >::iterator mCurrentStage
Definition: operation.hpp:28
bool mConnected
Definition: operation.hpp:35
bool mError
Definition: operation.hpp:34
std::vector< std::pair< Stage *, int > > mStages
Definition: operation.hpp:27
virtual void operationDone()
Definition: operation.cpp:135