diff --git a/app/fastfileviewer.h b/app/fastfileviewer.h index 5ffe2e0..32fd722 100644 --- a/app/fastfileviewer.h +++ b/app/fastfileviewer.h @@ -1,25 +1,25 @@ -#ifndef FASTFILEVIEWER_H -#define FASTFILEVIEWER_H - -#include "fastfile.h" -#include - -namespace Ui { -class FFViewer; -} - -class FastFileViewer : public QWidget -{ - Q_OBJECT - -public: - explicit FastFileViewer(QWidget *parent = nullptr); - ~FastFileViewer(); - - void SetFastFile(std::shared_ptr aFastFile); -private: - Ui::FFViewer *ui; - std::shared_ptr mFastFile; -}; - -#endif // FASTFILEVIEWER_H +#ifndef FASTFILEVIEWER_H +#define FASTFILEVIEWER_H + +#include "fastfile.h" +#include + +namespace Ui { +class FFViewer; +} + +class FastFileViewer : public QWidget +{ + Q_OBJECT + +public: + explicit FastFileViewer(QWidget *parent = nullptr); + ~FastFileViewer(); + + void SetFastFile(const FastFile *aFastFile); +private: + Ui::FFViewer *ui; + const FastFile* mFastFile; +}; + +#endif // FASTFILEVIEWER_H