summaryrefslogtreecommitdiffstats
path: root/src/memberdef.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/memberdef.cpp
parent51502afe30860a1b56b0bcb9ede3a6d9b62fdda2 (diff)
downloadDoxygen-7cdb9679aa5e9baf87772f2c7799ff7b5fe01207.zip
Doxygen-7cdb9679aa5e9baf87772f2c7799ff7b5fe01207.tar.gz
Doxygen-7cdb9679aa5e9baf87772f2c7799ff7b5fe01207.tar.bz2
Release-1.3.4
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 7f6dd61..92e9024 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -32,6 +32,7 @@
#include "defargs.h"
#include "docparser.h"
#include "dot.h"
+#include "searchindex.h"
//#include "xml.h"
@@ -723,6 +724,14 @@ void MemberDef::writeDeclaration(OutputList &ol,
// differs from the cname.
if (getOuterScope()) osname=getOuterScope()->name();
+ if (Config_getBool("SEARCHENGINE"))
+ {
+ Doxygen::searchIndex->setCurrentDoc(qualifiedName(),getOutputFileBase()+Config_getString("HTML_FILE_EXTENSION")+"#"+anchor());
+ Doxygen::searchIndex->addWord(localName().lower());
+ Doxygen::searchIndex->addWord(qualifiedName().lower());
+ }
+
+
HtmlHelp *htmlHelp=0;
bool hasHtmlHelp = Config_getBool("GENERATE_HTML") && Config_getBool("GENERATE_HTMLHELP");