diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-13 19:22:19 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-13 21:14:47 +0900 |
commit | c57343e948aa9f3346ad866ad88d4b1330d098b8 (patch) | |
tree | 143dc455ce45167d0ae2809678967eeeb1e62ac6 /ksvg/scripts/genimpl.sh | |
parent | d56dba4d2f900eb73d5ee00586c1b2d84b132b3f (diff) | |
download | tdegraphics-c57343e948aa9f3346ad866ad88d4b1330d098b8.tar.gz tdegraphics-c57343e948aa9f3346ad866ad88d4b1330d098b8.zip |
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 14d0fbe96c6abdb9da80e99953aec672f999948c)
Diffstat (limited to 'ksvg/scripts/genimpl.sh')
-rwxr-xr-x | ksvg/scripts/genimpl.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksvg/scripts/genimpl.sh b/ksvg/scripts/genimpl.sh index 207e4329..c4cd1284 100755 --- a/ksvg/scripts/genimpl.sh +++ b/ksvg/scripts/genimpl.sh @@ -12,11 +12,11 @@ fi # you cant touch this touch $1Impl.h -touch $1Impl.cc +touch $1Impl.cpp #start with copyright notices cat ../COPYRIGHTS > $1Impl.h -cat ../COPYRIGHTS > $1Impl.cc +cat ../COPYRIGHTS > $1Impl.cpp # add define for multiple include problem echo "" >> $1Impl.h @@ -28,12 +28,12 @@ echo "" >> $1Impl.h echo "namespace KSVG" >> $1Impl.h echo "{" >> $1Impl.h -#include in .cc + namespace -echo "" >> $1Impl.cc -echo "#include \"$1Impl.h\"" >> $1Impl.cc -echo "" >> $1Impl.cc -echo "using namespace KSVG;" >> $1Impl.cc -echo "" >> $1Impl.cc +#include in .cpp + namespace +echo "" >> $1Impl.cpp +echo "#include \"$1Impl.h\"" >> $1Impl.cpp +echo "" >> $1Impl.cpp +echo "using namespace KSVG;" >> $1Impl.cpp +echo "" >> $1Impl.cpp #go go go $cmd_awk -f ../makeimpl $1 |