aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/textureprovider/etcprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/textureprovider/etcprovider.h')
-rw-r--r--examples/quick/textureprovider/etcprovider.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/quick/textureprovider/etcprovider.h b/examples/quick/textureprovider/etcprovider.h
index 24570e90e9..b7f2f3d67d 100644
--- a/examples/quick/textureprovider/etcprovider.h
+++ b/examples/quick/textureprovider/etcprovider.h
@@ -45,6 +45,7 @@
#include <qopengl.h>
#include <QQuickImageProvider>
#include <QtQuick/QSGTexture>
+#include <QUrl>
class EtcProvider : public QQuickImageProvider
{
@@ -54,6 +55,11 @@ public:
{}
QQuickTextureFactory *requestTexture(const QString &id, QSize *size, const QSize &requestedSize);
+
+ void setBaseUrl(const QUrl &base);
+
+private:
+ QUrl m_baseUrl;
};
class EtcTexture : public QSGTexture