Update app/iwiviewer.h

This commit is contained in:
RedLine AI Agent 2025-09-05 19:53:11 +00:00
parent d166e3329a
commit 1e086cf00a

View File

@ -1,27 +1,27 @@
#ifndef IWIVIEWER_H #ifndef IWIVIEWER_H
#define IWIVIEWER_H #define IWIVIEWER_H
#include "iwifile.h" #include "iwifile.h"
#include <QWidget> #include <QWidget>
namespace Ui { namespace Ui {
class IWIViewer; class IWIViewer;
} }
class IWIViewer : public QWidget class IWIViewer : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit IWIViewer(QWidget *parent = nullptr); explicit IWIViewer(QWidget *parent = nullptr);
~IWIViewer(); ~IWIViewer();
void MipmapIndexChanged(int aMipmapIndex); void MipmapIndexChanged(int aMipmapIndex);
void SetIWIFile(std::shared_ptr<IWIFile> aIWIFile); void SetIWIFile(const IWIFile *aIWIFile);
private: private:
Ui::IWIViewer *ui; Ui::IWIViewer *ui;
std::shared_ptr<IWIFile> mIWIFile; const IWIFile* mIWIFile;
}; };
#endif // IWIVIEWER_H #endif // IWIVIEWER_H