diff options
author | Michele Calgaro <[email protected]> | 2020-12-13 19:22:19 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-12-13 19:22:19 +0900 |
commit | 14d0fbe96c6abdb9da80e99953aec672f999948c (patch) | |
tree | d48726c1256a1a495b415570847f08ecf9e5ecdd /ksvg/scripts/gen.sh | |
parent | db124e3167670efff59f6aef4bc0daff316dddf8 (diff) | |
download | tdegraphics-14d0fbe96c6abdb9da80e99953aec672f999948c.tar.gz tdegraphics-14d0fbe96c6abdb9da80e99953aec672f999948c.zip |
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksvg/scripts/gen.sh')
-rwxr-xr-x | ksvg/scripts/gen.sh | 18 |
1 files changed, 9 insertions, 9 deletions
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 |