7#ifndef KORESOURCECACHEINTERFACE_H
8#define KORESOURCECACHEINTERFACE_H
10#include "kritaresources_export.h"
12#include <QSharedPointer>
76 virtual QVariant
fetch(
const QString &key)
const = 0;
83 virtual void put(
const QString &key,
const QVariant &
value) = 0;
float value(const T *src, size_t ch)
a provider-like interface class for sharing caches between multiple resources
virtual QVariant fetch(const QString &key) const =0
fetch a cached object from the cache using key
virtual void put(const QString &key, const QVariant &value)=0
std::uintptr_t RelatedResourceCookie
Q_DECLARE_METATYPE(KisPaintopLodLimitations)