From 46a375a135be131caea706a1b4e2d305df27f62b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 7 May 2014 18:43:01 +0200 Subject: [PATCH] Avoid unnecessary compilation dependency on DoxygenTranslator.h. Use forward declaration instead of including this header in the common header used by all languages (and not just the two of them that actually use DoxygenTranslator currently). --- Source/Modules/swigmod.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Modules/swigmod.h b/Source/Modules/swigmod.h index 8f39ad1c2..2922a6057 100644 --- a/Source/Modules/swigmod.h +++ b/Source/Modules/swigmod.h @@ -17,7 +17,6 @@ #include "swig.h" #include "preprocessor.h" #include "swigwarn.h" -#include "../DoxygenTranslator/src/DoxygenTranslator.h" #if !defined(HAVE_BOOL) typedef int bool; @@ -345,8 +344,9 @@ protected: /* Director language module */ int director_language; - // Class instance to translate comments - DoxygenTranslator *doxygenTranslator; + /* Used to translate Doxygen comments to target documentation format */ + class DoxygenTranslator *doxygenTranslator; + private: Hash *symtabs; /* symbol tables */ Hash *classtypes;