diff --git a/app/iwiviewer.h b/app/iwiviewer.h index 86f5105..f83982f 100644 --- a/app/iwiviewer.h +++ b/app/iwiviewer.h @@ -1,27 +1,27 @@ -#ifndef IWIVIEWER_H -#define IWIVIEWER_H - -#include "iwifile.h" -#include - -namespace Ui { -class IWIViewer; -} - -class IWIViewer : public QWidget -{ - Q_OBJECT - -public: - explicit IWIViewer(QWidget *parent = nullptr); - ~IWIViewer(); - - void MipmapIndexChanged(int aMipmapIndex); - - void SetIWIFile(std::shared_ptr aIWIFile); -private: - Ui::IWIViewer *ui; - std::shared_ptr mIWIFile; -}; - -#endif // IWIVIEWER_H +#ifndef IWIVIEWER_H +#define IWIVIEWER_H + +#include "iwifile.h" +#include + +namespace Ui { +class IWIViewer; +} + +class IWIViewer : public QWidget +{ + Q_OBJECT + +public: + explicit IWIViewer(QWidget *parent = nullptr); + ~IWIViewer(); + + void MipmapIndexChanged(int aMipmapIndex); + + void SetIWIFile(const IWIFile *aIWIFile); +private: + Ui::IWIViewer *ui; + const IWIFile* mIWIFile; +}; + +#endif // IWIVIEWER_H