From 74863ab9562536398b7f15861f30075758ab4285 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sun, 26 Jun 2005 13:41:26 +0000 Subject: [PATCH] also rename .h to .hpp in miniswig dir SVN-Revision: 2643 --- tools/miniswig/create_docu.cpp | 6 +++--- tools/miniswig/{create_docu.h => create_docu.hpp} | 4 ++-- tools/miniswig/create_wrapper.cpp | 6 +++--- tools/miniswig/{create_wrapper.h => create_wrapper.hpp} | 2 +- tools/miniswig/{globals.h => globals.hpp} | 2 +- tools/miniswig/lexer.ll | 4 ++-- tools/miniswig/main.cpp | 8 ++++---- tools/miniswig/parser.yy | 4 ++-- tools/miniswig/tree.cpp | 2 +- tools/miniswig/{tree.h => tree.hpp} | 0 tools/miniswig/xmlwriter.cpp | 2 +- tools/miniswig/{xmlwriter.h => xmlwriter.hpp} | 0 12 files changed, 20 insertions(+), 20 deletions(-) rename tools/miniswig/{create_docu.h => create_docu.hpp} (91%) rename tools/miniswig/{create_wrapper.h => create_wrapper.hpp} (97%) rename tools/miniswig/{globals.h => globals.hpp} (97%) rename tools/miniswig/{tree.h => tree.hpp} (100%) rename tools/miniswig/{xmlwriter.h => xmlwriter.hpp} (100%) diff --git a/tools/miniswig/create_docu.cpp b/tools/miniswig/create_docu.cpp index b1e172217..3310e48d2 100644 --- a/tools/miniswig/create_docu.cpp +++ b/tools/miniswig/create_docu.cpp @@ -1,9 +1,9 @@ -#include "tree.h" +#include "tree.hpp" #include #include #include -#include "create_docu.h" -#include "globals.h" +#include "create_docu.hpp" +#include "globals.hpp" void DocuCreator::create_docu(Namespace* ns) diff --git a/tools/miniswig/create_docu.h b/tools/miniswig/create_docu.hpp similarity index 91% rename from tools/miniswig/create_docu.h rename to tools/miniswig/create_docu.hpp index 1f679b53b..0345de44f 100644 --- a/tools/miniswig/create_docu.h +++ b/tools/miniswig/create_docu.hpp @@ -1,8 +1,8 @@ #ifndef __CREATE_DOCU_H__ #define __CREATE_DOCU_H__ -#include "tree.h" -#include "xmlwriter.h" +#include "tree.hpp" +#include "xmlwriter.hpp" class DocuCreator { diff --git a/tools/miniswig/create_wrapper.cpp b/tools/miniswig/create_wrapper.cpp index 330792d2a..7eae391b4 100644 --- a/tools/miniswig/create_wrapper.cpp +++ b/tools/miniswig/create_wrapper.cpp @@ -1,9 +1,9 @@ -#include "tree.h" +#include "tree.hpp" #include #include #include -#include "create_wrapper.h" -#include "globals.h" +#include "create_wrapper.hpp" +#include "globals.hpp" void WrapperCreator::create_wrapper(Namespace* ns) diff --git a/tools/miniswig/create_wrapper.h b/tools/miniswig/create_wrapper.hpp similarity index 97% rename from tools/miniswig/create_wrapper.h rename to tools/miniswig/create_wrapper.hpp index 359c1edbc..97c14df44 100644 --- a/tools/miniswig/create_wrapper.h +++ b/tools/miniswig/create_wrapper.hpp @@ -1,7 +1,7 @@ #ifndef __CREATE_WRAPPER_H__ #define __CREATE_WRAPPER_H__ -#include "tree.h" +#include "tree.hpp" class WrapperCreator { diff --git a/tools/miniswig/globals.h b/tools/miniswig/globals.hpp similarity index 97% rename from tools/miniswig/globals.h rename to tools/miniswig/globals.hpp index 51cef65f9..9f6f65d46 100644 --- a/tools/miniswig/globals.h +++ b/tools/miniswig/globals.hpp @@ -1,7 +1,7 @@ #ifndef __GLOBALS_H__ #define __GLOBALS_H__ -#include "tree.h" +#include "tree.hpp" #include // parsing diff --git a/tools/miniswig/lexer.ll b/tools/miniswig/lexer.ll index 21b13f4e9..ccaf06712 100644 --- a/tools/miniswig/lexer.ll +++ b/tools/miniswig/lexer.ll @@ -3,9 +3,9 @@ #include #include #include -#include "tree.h" +#include "tree.hpp" #include "parser.hpp" -#include "globals.h" +#include "globals.hpp" #define YY_DECL int yylex(YYSTYPE* yylval) diff --git a/tools/miniswig/main.cpp b/tools/miniswig/main.cpp index 0140a8585..2655a6462 100644 --- a/tools/miniswig/main.cpp +++ b/tools/miniswig/main.cpp @@ -2,10 +2,10 @@ #include #include #include -#include "tree.h" -#include "globals.h" -#include "create_wrapper.h" -#include "create_docu.h" +#include "tree.hpp" +#include "globals.hpp" +#include "create_wrapper.hpp" +#include "create_docu.hpp" extern int yyparse(); extern int yylex(); diff --git a/tools/miniswig/parser.yy b/tools/miniswig/parser.yy index 4875401b7..1aae8ce04 100644 --- a/tools/miniswig/parser.yy +++ b/tools/miniswig/parser.yy @@ -3,8 +3,8 @@ #include #include #include -#include "tree.h" -#include "globals.h" +#include "tree.hpp" +#include "globals.hpp" %} diff --git a/tools/miniswig/tree.cpp b/tools/miniswig/tree.cpp index e26452da7..3d5413e38 100644 --- a/tools/miniswig/tree.cpp +++ b/tools/miniswig/tree.cpp @@ -1,4 +1,4 @@ -#include "tree.h" +#include "tree.hpp" BasicType BasicType::VOID("void"); BasicType BasicType::BOOL("bool"); diff --git a/tools/miniswig/tree.h b/tools/miniswig/tree.hpp similarity index 100% rename from tools/miniswig/tree.h rename to tools/miniswig/tree.hpp diff --git a/tools/miniswig/xmlwriter.cpp b/tools/miniswig/xmlwriter.cpp index 1a85247ec..b44635f17 100644 --- a/tools/miniswig/xmlwriter.cpp +++ b/tools/miniswig/xmlwriter.cpp @@ -2,7 +2,7 @@ #include #include -#include "xmlwriter.h" +#include "xmlwriter.hpp" XmlWriter::XmlWriter(std::ostream& outstream) : out(outstream), indent(0) diff --git a/tools/miniswig/xmlwriter.h b/tools/miniswig/xmlwriter.hpp similarity index 100% rename from tools/miniswig/xmlwriter.h rename to tools/miniswig/xmlwriter.hpp -- 2.11.0