summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-09-22 20:13:01 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-09-22 20:13:01 (GMT)
commit7cdb9679aa5e9baf87772f2c7799ff7b5fe01207 (patch)
tree5da2b20b68f07e1ce10d01b7102a959409be641d /src/namespacedef.cpp
parent51502afe30860a1b56b0bcb9ede3a6d9b62fdda2 (diff)
downloadDoxygen-7cdb9679aa5e9baf87772f2c7799ff7b5fe01207.zip
Doxygen-7cdb9679aa5e9baf87772f2c7799ff7b5fe01207.tar.gz
Doxygen-7cdb9679aa5e9baf87772f2c7799ff7b5fe01207.tar.bz2
Release-1.3.4
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp7
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;