You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/apps/opencs/view/doc/operations.hpp

41 lines
798 B
C++

#ifndef CSV_DOC_OPERATIONS_H
#define CSV_DOC_OPERATIONS_H
#include <vector>
#include <QDockWidget>
class QVBoxLayout;
namespace CSVDoc
{
class Operation;
class Operations : public QDockWidget
{
Q_OBJECT
QVBoxLayout* mLayout;
std::vector<Operation*> mOperations;
// not implemented
Operations(const Operations&);
Operations& operator=(const Operations&);
public:
Operations();
void setProgress(int current, int max, int type, int threads);
///< Implicitly starts the operation, if it is not running already.
void quitOperation(int type);
///< Calling this function for an operation that is not running is a no-op.
signals:
void abortOperation(int type);
};
}
#endif