27#ifndef GEANY_TEMPLATES_H
28#define GEANY_TEMPLATES_H 1
59#define GEANY_TEMPLATES_INDENT 3
60#define GEANY_TEMPLATES_FORMAT_YEAR C_("DefaultYear", "%Y")
61#define GEANY_TEMPLATES_FORMAT_DATE C_("DefaultDate", "%Y-%m-%d")
62#define GEANY_TEMPLATES_FORMAT_DATETIME C_("DefaultDateTime", "%d.%m.%Y %H:%M:%S %Z")
66 GEANY_TEMPLATE_GPL = 0,
68 GEANY_TEMPLATE_FILEHEADER,
69 GEANY_TEMPLATE_CHANGELOG,
70 GEANY_TEMPLATE_FUNCTION,
90 const gchar *first_wildcard, ...) G_GNUC_NULL_TERMINATED;
Document related actions: new, save, open, etc.
Filetype detection, file extensions and filetype menu items.
Structure for representing an open tab with all its properties.
gchar * initials
Initials.
gchar * version
Initial version.
void templates_replace_common(GString *tmpl, const gchar *fname, GeanyFiletype *ft, const gchar *func_name)
gchar * templates_get_template_changelog(GeanyDocument *doc)
void templates_init(void)
GeanyTemplatePrefs template_prefs
void templates_free_templates(void)
gchar * templates_get_template_function(GeanyDocument *doc, const gchar *func_name)
gchar * templates_get_template_licence(GeanyDocument *doc, gint licence_type)
void templates_replace_valist(GString *text, const gchar *first_wildcard,...)
gchar * templates_get_template_fileheader(gint filetype_idx, const gchar *fname)
struct GeanyTemplatePrefs GeanyTemplatePrefs
Template preferences.