Update app/fastfileviewer.h
This commit is contained in:
parent
07e473bad0
commit
44af7bf03c
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user