BuiltInTemplates.h header

#include <ew/app/BuiltInTemplates.h>

Namespace ew::app

Functions

int ew::app::seedBuiltInTemplates(const QString &templatesDir)

Ensures the built-in starter templates ship under templatesDir, creating any that are missing and leaving existing ones untouched (idempotent). Each starter is a small, valid project – a genre-appropriate codex taxonomy plus one or two seed documents – constructed via the core API and written with its template.json manifest, so New-from-Template offers useful starting points out of the box. Returns the number of templates created by this call (0 when all already exist).