looqs/gui/previewgenerator.h

21 lines
441 B
C

#ifndef PREVIEWGENERATOR_H
#define PREVIEWGENERATOR_H
#include <QVector>
#include <QSharedPointer>
2022-04-24 12:22:59 +02:00
#include <QFileInfo>
#include "previewresult.h"
#include "renderconfig.h"
class PreviewGenerator
{
public:
virtual QSharedPointer<PreviewResult> generate(RenderConfig config, QString documentPath, unsigned int page) = 0;
virtual ~PreviewGenerator()
{
}
2022-04-24 12:22:59 +02:00
static PreviewGenerator *get(QFileInfo &info);
};
#endif // PREVIEWGENERATOR_H