From 14d0fbe96c6abdb9da80e99953aec672f999948c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 13 Dec 2020 19:22:19 +0900 Subject: Renaming of files in preparation for code style tools. Signed-off-by: Michele Calgaro --- ksvg/scripts/gen.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ksvg/scripts/gen.sh') diff --git a/ksvg/scripts/gen.sh b/ksvg/scripts/gen.sh index 9c87e22e..5e53438e 100755 --- a/ksvg/scripts/gen.sh +++ b/ksvg/scripts/gen.sh @@ -12,11 +12,11 @@ fi # make them touch $1.h -touch $1.cc +touch $1.cpp #start with copyright notices cat ../COPYRIGHTS > $1.h -cat ../COPYRIGHTS > $1.cc +cat ../COPYRIGHTS > $1.cpp # add define for multiple include problem echo "" >> $1.h @@ -27,13 +27,13 @@ echo "namespace KSVG" >> $1.h echo "{" >> $1.h echo "" >> $1.h -#include in .cc + namespace -echo "" >> $1.cc -echo "#include \"$1.h\"" >> $1.cc -echo "#include \"$1Impl.h\"" >> $1.cc -echo "" >> $1.cc -echo "using namespace KSVG;" >> $1.cc -echo "" >> $1.cc +#include in .cpp + namespace +echo "" >> $1.cpp +echo "#include \"$1.h\"" >> $1.cpp +echo "#include \"$1Impl.h\"" >> $1.cpp +echo "" >> $1.cpp +echo "using namespace KSVG;" >> $1.cpp +echo "" >> $1.cpp #go go go $cmd_awk -f ../makeheader $1 -- cgit v1.2.1