mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-12 04:26:43 +00:00
6422c85670
Fixes include that is relative to include path to absolute path as it is with other qt includes.
22 lines
414 B
C++
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;
|
|
};
|