21 #ifndef GRANTLEE_CACHINGLOADERDECORATOR_H
22 #define GRANTLEE_CACHINGLOADERDECORATOR_H
24 #include "templateloader.h"
26 #include "grantlee_core_export.h"
31 class CachingLoaderDecoratorPrivate;
68 typedef QSharedPointer<CachingLoaderDecorator>
Ptr;
81 bool canLoadTemplate(
const QString& name )
const;
83 QPair< QString, QString > getMediaUri(
const QString& fileName )
const;
100 bool isEmpty()
const;
104 CachingLoaderDecoratorPrivate *
const d_ptr;
The Template class is a tree of nodes which may be rendered.
QSharedPointer< AbstractTemplateLoader > Ptr
An retrieval interface to a storage location for Template objects.
Implements a loader decorator which caches compiled Template objects.
The Grantlee namespace holds all public Grantlee API.
Grantlee::Engine is the main entry point for creating Grantlee Templates.