/usr/share/anjuta/class-templates/cc-source.tpl is in anjuta-common 2:3.18.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | [+ autogen5 template +]
[+INCLUDE (string-append "indent.tpl") \+]
[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
/* [+INVOKE EMACS-MODELINE MODE="C" \+] */
[+INVOKE START-INDENT\+]
/*
* [+SourceFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
*
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
*/
#include "[+HeaderFile+]"
[+IF (=(get "Inline") "0")+][+
FOR var IN public protected private+][+
FOR Elements +][+
IF (=(get "Scope") (get "var")) +][+
IF (not (=(get "Arguments") ""))+][+
IF (not (=(get "Type") "")) +][+Type+] [+ENDIF+][+
ClassName+]::[+Name+][+
Arguments+]
{
// TODO: Add implementation here
}
[+
ENDIF+][+
ENDIF+][+
ENDFOR+][+
ENDFOR+][+
ENDIF+]
[+INVOKE END-INDENT\+]
|