dotherside/lib/include/DOtherSide/DosQQuickImageProvider.h
zxey 6422c85670 Fix relative include (#73)
Fixes include that is relative to include path to absolute path as it is with other qt includes.
2018-03-29 23:25:33 +02:00

22 lines
414 B
C++

#pragma once
// std
#include <iostream>
// Qt
#include <QtGui/QPixmap>
#include <QtQuick/QQuickImageProvider>
#include "DOtherSideTypes.h"
class DosImageProvider : public QQuickImageProvider
{
public:
DosImageProvider(RequestPixmapCallback callback);
QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize) override;
private:
RequestPixmapCallback m_pixmap_callback;
};