/usr/share/anjuta/class-templates/cc-header.tpl is in anjuta-common 2:3.10.2-0ubuntu2.
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 34 35 36 37 38 39 40 41 | [+ autogen5 template +]
[+INCLUDE (string-append "indent.tpl") \+]
[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
/* [+INVOKE EMACS-MODELINE MODE="C" \+] */
[+INVOKE START-INDENT\+]
/*
* [+HeaderFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
*
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
*/
#ifndef _[+ (string-upcase(string->c-name!(get "HeaderFile"))) +]_
#define _[+ (string-upcase(string->c-name!(get "HeaderFile"))) +]_
class [+ClassName+][+IF (not (=(get "BaseClass") ""))+]: [+Inheritance+] [+BaseClass+] [+ENDIF+]
{
[+FOR var IN public protected private+][+
var+]:
[+
FOR Elements +][+
IF (=(get "Scope") (get "var")) +] [+
CASE (get "Implementation")+][+
== "normal"+][+
== "static"+]static [+
== "virtual"+]virtual [+
ESAC+][+
IF (not (=(get "Type") "")) +][+Type+] [+ENDIF+][+
Name+][+
Arguments+][+
IF (and(=(get "Inline") "1") (not(=(get "Arguments") "")))+] { /* TODO: Add implementation here */ }[+
ELSE+];[+
ENDIF+]
[+
ENDIF+][+
ENDFOR+]
[+
ENDFOR+]};
#endif // _[+ (string-upcase(string->c-name!(get "HeaderFile"))) +]_
[+INVOKE END-INDENT\+]
|