diff options
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r-- | src/namespacedef.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index 1146924..c2aa94a 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -26,6 +26,7 @@ #include "doxygen.h" #include "message.h" #include "docparser.h" +#include "searchindex.h" NamespaceDef::NamespaceDef(const char *df,int dl, const char *name,const char *lref) : @@ -260,6 +261,12 @@ void NamespaceDef::writeDocumentation(OutputList &ol) addGroupListToTitle(ol,this); endTitle(ol,getOutputFileBase(),displayName()); + if (Config_getBool("SEARCHENGINE")) + { + Doxygen::searchIndex->setCurrentDoc(pageTitle,getOutputFileBase()); + Doxygen::searchIndex->addWord(localName().lower()); + } + if (!Config_getString("GENERATE_TAGFILE").isEmpty()) { Doxygen::tagFile << " <compound kind=\"namespace\">" << endl; |