5#ifndef CPSTATICSIMPLE_H
6#define CPSTATICSIMPLE_H
8#include <Cutelyst/context.h>
9#include <Cutelyst/cutelyst_global.h>
10#include <Cutelyst/plugin.h>
14class StaticSimplePrivate;
38 void setDirs(
const QStringList &dirs);
46 StaticSimplePrivate *d_ptr;
49 void beforePrepareAction(
Context *c,
bool *skipMethod);
50 bool locateStaticFile(
Context *c,
const QString &relPath);
The Cutelyst Application.
Plugin(Application *parent)
void setDirs(const QStringList &dirs)
virtual bool setup(Application *app) override
StaticSimple(Application *parent)
void setIncludePaths(const QStringList &paths)
The Cutelyst namespace holds all public Cutelyst API.