mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
41 lines
672 B
C++
41 lines
672 B
C++
#ifndef ANALTHREAD_H
|
|
#define ANALTHREAD_H
|
|
|
|
#include "common/AsyncTask.h"
|
|
#include "core/Cutter.h"
|
|
#include "common/InitialOptions.h"
|
|
|
|
class CutterCore;
|
|
class MainWindow;
|
|
class InitialOptionsDialog;
|
|
|
|
class AnalTask : public AsyncTask
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AnalTask();
|
|
~AnalTask();
|
|
|
|
QString getTitle() override;
|
|
|
|
void setOptions(const InitialOptions &options) { this->options = options; }
|
|
|
|
void interrupt() override;
|
|
|
|
bool getOpenFileFailed() { return openFailed; }
|
|
|
|
protected:
|
|
void runTask() override;
|
|
|
|
signals:
|
|
void openFileFailed();
|
|
|
|
private:
|
|
InitialOptions options;
|
|
|
|
bool openFailed = false;
|
|
};
|
|
|
|
#endif // ANALTHREAD_H
|