summaryrefslogtreecommitdiff
path: root/templates/auto-insert
diff options
context:
space:
mode:
Diffstat (limited to 'templates/auto-insert')
-rw-r--r--templates/auto-insert/template.cc7
-rw-r--r--templates/auto-insert/template.hh16
2 files changed, 23 insertions, 0 deletions
diff --git a/templates/auto-insert/template.cc b/templates/auto-insert/template.cc
new file mode 100644
index 0000000..d9afc65
--- /dev/null
+++ b/templates/auto-insert/template.cc
@@ -0,0 +1,7 @@
+/*
+ * @file `(buffer-name)`
+ * @brief $0
+ *
+ * @author `user-full-name`
+ * @date `(format-time-string "%Y-%m-%d")`
+ */
diff --git a/templates/auto-insert/template.hh b/templates/auto-insert/template.hh
new file mode 100644
index 0000000..0f9cb8e
--- /dev/null
+++ b/templates/auto-insert/template.hh
@@ -0,0 +1,16 @@
+/**
+ * @file `(buffer-name)`
+ * @brief $1
+ *
+ * $2
+ *
+ * @author MAGIT_USER or SYSTEM_USER
+ * @date `(format-time-string "%Y-%m-%d")`
+ */
+
+#ifndef `(git-include-guard-path)`
+#define `(git-include-guard-path)`
+
+$0
+
+#endif