summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-09-22 20:13:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-09-22 20:13:01 (GMT)
commitb740d594fddfb880f5800b991e408bdb42a3f354 (patch)
tree5da2b20b68f07e1ce10d01b7102a959409be641d /src/groupdef.cpp
parent640babbbb6882ce1b1e52563c0617e2f4213eeb8 (diff)
downloadDoxygen-b740d594fddfb880f5800b991e408bdb42a3f354.zip
Doxygen-b740d594fddfb880f5800b991e408bdb42a3f354.tar.gz
Doxygen-b740d594fddfb880f5800b991e408bdb42a3f354.tar.bz2
Release-1.3.4
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 28e21db..999f032 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -31,6 +31,7 @@
#include "doxygen.h"
#include "pagedef.h"
#include "docparser.h"
+#include "searchindex.h"
GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t,
const char *refFileName) : Definition(df,dl,na)
@@ -413,6 +414,12 @@ void GroupDef::writeDocumentation(OutputList &ol)
addGroupListToTitle(ol,this);
endTitle(ol,getOutputFileBase(),title);
+ if (Config_getBool("SEARCHENGINE"))
+ {
+ Doxygen::searchIndex->setCurrentDoc(title,getOutputFileBase());
+ Doxygen::searchIndex->addWord(localName().lower());
+ }
+
if (Config_getBool("DETAILS_AT_TOP"))
{
writeDetailedDocumentation(ol);