diff options
author | Mark Spruiell <mes@zeroc.com> | 2018-01-05 21:49:44 (GMT) |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2018-10-22 19:21:42 (GMT) |
commit | 109bd64ceb2fbe41cd1f94011edd51f03b28fbdb (patch) | |
tree | 6cb9deee3269e607642871a1cce1a9f709fa2bde /src/classdef.cpp | |
parent | 3a97099d5e6afd298486f219694a7fb5eff67fea (diff) | |
download | Doxygen-109bd64ceb2fbe41cd1f94011edd51f03b28fbdb.zip Doxygen-109bd64ceb2fbe41cd1f94011edd51f03b28fbdb.tar.gz Doxygen-109bd64ceb2fbe41cd1f94011edd51f03b28fbdb.tar.bz2 |
Fix for module quicklinks
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index abe7a52..16fcfbf 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -2042,12 +2042,35 @@ void ClassDef::writeDeclarationLink(OutputList &ol,bool &found,const char *heade { //static bool fortranOpt = Config_getBool(OPTIMIZE_FOR_FORTRAN); //static bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL); + static bool sliceOpt = Config_getBool(OPTIMIZE_OUTPUT_SLICE); SrcLangExt lang = getLanguage(); if (visibleInParentsDeclList()) { if (!found) // first class { - ol.startMemberHeader("nested-classes"); + if (sliceOpt) + { + if (isInterface()) + { + ol.startMemberHeader("interfaces"); + } + else if (isStruct()) + { + ol.startMemberHeader("structs"); + } + else if (isException()) + { + ol.startMemberHeader("exceptions"); + } + else + { + ol.startMemberHeader("nested-classes"); + } + } + else + { + ol.startMemberHeader("nested-classes"); + } if (header) { ol.parseText(header); |