diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-09-22 20:13:01 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-09-22 20:13:01 (GMT) |
commit | b740d594fddfb880f5800b991e408bdb42a3f354 (patch) | |
tree | 5da2b20b68f07e1ce10d01b7102a959409be641d /src/filedef.cpp | |
parent | 640babbbb6882ce1b1e52563c0617e2f4213eeb8 (diff) | |
download | Doxygen-b740d594fddfb880f5800b991e408bdb42a3f354.zip Doxygen-b740d594fddfb880f5800b991e408bdb42a3f354.tar.gz Doxygen-b740d594fddfb880f5800b991e408bdb42a3f354.tar.bz2 |
Release-1.3.4
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 2a94da2..161d1fc 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -31,6 +31,7 @@ #include "code.h" #include "docparser.h" #include "ftvhelp.h" +#include "searchindex.h" //#include "xml.h" class DevNullCodeDocInterface : public BaseCodeDocInterface @@ -220,6 +221,12 @@ void FileDef::writeDocumentation(OutputList &ol) endTitle(ol,getOutputFileBase(),docName()); //ol.newParagraph(); + if (Config_getBool("SEARCHENGINE")) + { + Doxygen::searchIndex->setCurrentDoc(pageTitle,getOutputFileBase()); + Doxygen::searchIndex->addWord(localName().lower()); + } + if (!Config_getString("GENERATE_TAGFILE").isEmpty()) { Doxygen::tagFile << " <compound kind=\"file\">" << endl; |