mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
35 lines
495 B
C++
35 lines
495 B
C++
#ifndef CSM_TOOLS_OPERATION_H
|
|
#define CSM_TOOLS_OPERATION_H
|
|
|
|
#include <QThread>
|
|
|
|
namespace CSMTools
|
|
{
|
|
class Operation : public QThread
|
|
{
|
|
Q_OBJECT
|
|
|
|
int mType;
|
|
int mStep;
|
|
|
|
public:
|
|
|
|
Operation (int type);
|
|
|
|
virtual void run();
|
|
|
|
signals:
|
|
|
|
void progress (int current, int max, int type);
|
|
|
|
public slots:
|
|
|
|
void abort();
|
|
|
|
private slots:
|
|
|
|
void verify();
|
|
};
|
|
}
|
|
|
|
#endif |