Update app/fastfileviewer.h

This commit is contained in:
RedLine AI Agent 2025-09-05 19:47:15 +00:00
parent 07e473bad0
commit 44af7bf03c

View File

@ -1,25 +1,25 @@
#ifndef FASTFILEVIEWER_H #ifndef FASTFILEVIEWER_H
#define FASTFILEVIEWER_H #define FASTFILEVIEWER_H
#include "fastfile.h" #include "fastfile.h"
#include <QWidget> #include <QWidget>
namespace Ui { namespace Ui {
class FFViewer; class FFViewer;
} }
class FastFileViewer : public QWidget class FastFileViewer : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit FastFileViewer(QWidget *parent = nullptr); explicit FastFileViewer(QWidget *parent = nullptr);
~FastFileViewer(); ~FastFileViewer();
void SetFastFile(std::shared_ptr<FastFile> aFastFile); void SetFastFile(const FastFile *aFastFile);
private: private:
Ui::FFViewer *ui; Ui::FFViewer *ui;
std::shared_ptr<FastFile> mFastFile; const FastFile* mFastFile;
}; };
#endif // FASTFILEVIEWER_H #endif // FASTFILEVIEWER_H