#ifndef SOLVER_H #define SOLVER_H #include class Solver : public QObject { Q_OBJECT std::unique_ptr _solver; FITSImage::Statistic _stats; QString _path; QString _error; public: explicit Solver(QObject *parent = nullptr); ~Solver(); bool solveImage(const QString &path); FITSImage::Solution getSolution() const; QString errorMessage() const; void updateHeader(); }; #endif // SOLVER_H