21 #ifndef CUTELEE_TEMPLATELOADER_H 22 #define CUTELEE_TEMPLATELOADER_H 24 #include "cutelee_templates_export.h" 30 class AbstractLocalizer;
59 Engine const *engine)
const = 0;
64 virtual std::pair<QString, QString>
65 getMediaUri(
const QString &fileName)
const = 0;
70 virtual bool canLoadTemplate(
const QString &name)
const = 0;
152 bool canLoadTemplate(
const QString &name)
const override;
154 std::pair<QString, QString> getMediaUri(
const QString &fileName)
const override;
159 void setTheme(
const QString &themeName);
202 bool canLoadTemplate(
const QString &name)
const override;
204 std::pair<QString, QString> getMediaUri(
const QString &fileName)
const override;
The Template class is a tree of nodes which may be rendered.
The Cutelee namespace holds all public Cutelee API.
An retrieval interface to a storage location for Template objects.
Cutelee::Engine is the main entry point for creating Cutelee Templates.
The InMemoryTemplateLoader loads Templates set dynamically in memory.
The FileSystemTemplateLoader loads Templates from the file system.