mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 21:35:28 +00:00
c2a0de2b31
And move InitialOptions to InitialOptions.h
41 lines
719 B
C++
41 lines
719 B
C++
#ifndef ANALTHREAD_H
|
|
#define ANALTHREAD_H
|
|
|
|
#include "utils/AsyncTask.h"
|
|
#include "Cutter.h"
|
|
#include "utils/InitialOptions.h"
|
|
|
|
class CutterCore;
|
|
class MainWindow;
|
|
class InitialOptionsDialog;
|
|
|
|
class AnalTask : public AsyncTask
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AnalTask();
|
|
~AnalTask();
|
|
|
|
QString getTitle() override { return tr("Initial Analysis"); }
|
|
|
|
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
|