diff options
Diffstat (limited to 'src/location/maps/qabstractgeotilecache_p.h')
-rw-r--r-- | src/location/maps/qabstractgeotilecache_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/location/maps/qabstractgeotilecache_p.h b/src/location/maps/qabstractgeotilecache_p.h index 8cd303ee..6660d13a 100644 --- a/src/location/maps/qabstractgeotilecache_p.h +++ b/src/location/maps/qabstractgeotilecache_p.h @@ -87,6 +87,10 @@ class Q_LOCATION_EXPORT QAbstractGeoTileCache : public QObject { Q_OBJECT public: + enum CostStrategy { + Unitary, + ByteSize + }; virtual ~QAbstractGeoTileCache(); virtual void setMaxDiskUsage(int diskUsage); @@ -103,6 +107,8 @@ public: virtual int minTextureUsage() const = 0; virtual int textureUsage() const = 0; virtual void clearAll() = 0; + virtual void setCostStrategy(CostStrategy costStrategy) = 0; + virtual CostStrategy costStrategy() = 0; virtual QSharedPointer<QGeoTileTexture> get(const QGeoTileSpec &spec) = 0; |