summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-10-14 18:01:08 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-10-14 18:01:08 (GMT)
commit4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38 (patch)
treebcdab6f521bde9211fb810a1adaf06fbc4a93504 /src/memberdef.cpp
parentf12c78472b4ea2f6b82c241a345af5da3d4973b9 (diff)
downloadDoxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.zip
Doxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.tar.gz
Doxygen-4f13c95eed55e8b0d989f2eeeb0ab72bd70f2b38.tar.bz2
Release-1.2.11-20011014
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index b7631f8..7b8245a 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1675,3 +1675,20 @@ void MemberDef::setInitializer(const char *initializer)
init=init.left(p+1);
initLines=init.contains('\n');
}
+
+void MemberDef::addListReference(Definition *d)
+{
+ visited=TRUE;
+ QCString memLabel;
+ if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
+ {
+ memLabel=theTranslator->trGlobal(TRUE,TRUE);
+ }
+ else
+ {
+ memLabel=theTranslator->trMember(TRUE,TRUE);
+ }
+ addRefItem(todoId(),testId(),bugId(),memLabel,
+ d->getOutputFileBase()+":"+anchor(),name(),argsString());
+}
+