From 114a878c64ce6f8223cfd22d76a20eb16d177e5e Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/file_templates/Makefile.am | 3 +++ languages/cpp/file_templates/c | 11 +++++++++ languages/cpp/file_templates/cpp | 11 +++++++++ languages/cpp/file_templates/h | 11 +++++++++ languages/cpp/file_templates/l | 35 ++++++++++++++++++++++++++ languages/cpp/file_templates/ll | 42 ++++++++++++++++++++++++++++++++ languages/cpp/file_templates/y | 40 ++++++++++++++++++++++++++++++ languages/cpp/file_templates/yy | 40 ++++++++++++++++++++++++++++++ 8 files changed, 193 insertions(+) create mode 100644 languages/cpp/file_templates/Makefile.am create mode 100644 languages/cpp/file_templates/c create mode 100644 languages/cpp/file_templates/cpp create mode 100644 languages/cpp/file_templates/h create mode 100644 languages/cpp/file_templates/l create mode 100644 languages/cpp/file_templates/ll create mode 100644 languages/cpp/file_templates/y create mode 100644 languages/cpp/file_templates/yy (limited to 'languages/cpp/file_templates') diff --git a/languages/cpp/file_templates/Makefile.am b/languages/cpp/file_templates/Makefile.am new file mode 100644 index 00000000..d688d547 --- /dev/null +++ b/languages/cpp/file_templates/Makefile.am @@ -0,0 +1,3 @@ +templatedir = $(kde_datadir)/kdevfilecreate/file-templates +template_DATA = c cpp h l ll y yy + diff --git a/languages/cpp/file_templates/c b/languages/cpp/file_templates/c new file mode 100644 index 00000000..29d5dfd0 --- /dev/null +++ b/languages/cpp/file_templates/c @@ -0,0 +1,11 @@ +/* +* C Implementation: $MODULE$ +* +* Description: +* +* +* Author: $AUTHOR$ <$EMAIL$>, (C) $YEAR$ +* +* Copyright: See COPYING file that comes with this distribution +* +*/ diff --git a/languages/cpp/file_templates/cpp b/languages/cpp/file_templates/cpp new file mode 100644 index 00000000..23b3f500 --- /dev/null +++ b/languages/cpp/file_templates/cpp @@ -0,0 +1,11 @@ +// +// C++ Implementation: $MODULE$ +// +// Description: +// +// +// Author: $AUTHOR$ <$EMAIL$>, (C) $YEAR$ +// +// Copyright: See COPYING file that comes with this distribution +// +// diff --git a/languages/cpp/file_templates/h b/languages/cpp/file_templates/h new file mode 100644 index 00000000..4e987ea1 --- /dev/null +++ b/languages/cpp/file_templates/h @@ -0,0 +1,11 @@ +// +// C++ Interface: $MODULE$ +// +// Description: +// +// +// Author: $AUTHOR$ <$EMAIL$>, (C) $YEAR$ +// +// Copyright: See COPYING file that comes with this distribution +// +// diff --git a/languages/cpp/file_templates/l b/languages/cpp/file_templates/l new file mode 100644 index 00000000..39a8d138 --- /dev/null +++ b/languages/cpp/file_templates/l @@ -0,0 +1,35 @@ +/* + * + * flex Implementation: $MODULE$ + * + * Description: + * + * + * Author: $AUTHOR$ <$EMAIL$>, (C) $YEAR$ + * + * Copyright: See COPYING file that comes with this distribution + * + */ + +/* + * + * Use options + * + * %option prefix="foo" + * %option outfile="lex.yy.c" + * + * to create multiple flex scanner in one project. + * + */ + +%{ + + +%} + +%option debug + +%% + + +%% diff --git a/languages/cpp/file_templates/ll b/languages/cpp/file_templates/ll new file mode 100644 index 00000000..96daef19 --- /dev/null +++ b/languages/cpp/file_templates/ll @@ -0,0 +1,42 @@ +/* + * + * flex C++ implementation: $MODULE$ + * + * Description: + * + * + * Author: $AUTHOR$ <$EMAIL$>, (C) $YEAR$ + * + * Copyright: See COPYING file that comes with this distribution + * + */ + +/* + * + * Use options + * + * %option prefix="foo" + * %option outfile="lex.yy.c" + * + * to create multiple flex scanner in one project. + * + * + * To create scanner class: + * + * %option c++ + * + * (see '%option yyclass' also!) + * + */ + +%{ + + +%} + +%option debug + +%% + + +%% diff --git a/languages/cpp/file_templates/y b/languages/cpp/file_templates/y new file mode 100644 index 00000000..67180e42 --- /dev/null +++ b/languages/cpp/file_templates/y @@ -0,0 +1,40 @@ +/* + * + * bison/yacc Implementation: $MODULE$ + * + * Description: + * + * + * Author: $AUTHOR$ <$EMAIL$>, (C) $YEAR$ + * + * Copyright: See COPYING file that comes with this distribution + * + */ + +/* + * + * Use options + * + * %name-prefix="foo" + * %yacc + * + * to create multiple parsers in one project. + * + */ + +%{ + + + +%} + +%debug + +%% + + + + + +%% + diff --git a/languages/cpp/file_templates/yy b/languages/cpp/file_templates/yy new file mode 100644 index 00000000..dab32b85 --- /dev/null +++ b/languages/cpp/file_templates/yy @@ -0,0 +1,40 @@ +/* + * + * bison/yacc C++ Implementation: $MODULE$ + * + * Description: + * + * + * Author: $AUTHOR$ <$EMAIL$>, (C) $YEAR$ + * + * Copyright: See COPYING file that comes with this distribution + * + */ + +/* + * + * Use options + * + * %name-prefix="foo" + * %yacc + * + * to create multiple parsers in one project. + * + */ + +%{ + + + +%} + +%debug + +%% + + + + + +%% + -- cgit v1.2.1