diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-02-26 19:26:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-02-26 19:26:15 (GMT) |
commit | 5e5615a9d2da8b923565c1bcadc9db48efbc75d0 (patch) | |
tree | 3e53070ae9b2bb683c6b27b5c4edf5cf9151d850 /src/entry.cpp | |
parent | 80d09775da9a99a3bc58704ffd055547c6b03043 (diff) | |
parent | 073e9482a516c24a3d045da049941bfd432f3354 (diff) | |
download | Doxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.zip Doxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.tar.gz Doxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.tar.bz2 |
Merge pull request #302 from albert-github/feature/bug_callgraph
Adding commands \hidecallgraph and \hidecallergraph
Diffstat (limited to 'src/entry.cpp')
-rw-r--r-- | src/entry.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/entry.cpp b/src/entry.cpp index b5928b3..4f25195 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -24,7 +24,7 @@ #include "doxygen.h" #include "filestorage.h" #include "arguments.h" - +#include "config.h" //------------------------------------------------------------------ #define HEADER ('D'<<24)+('O'<<16)+('X'<<8)+'!' @@ -216,6 +216,8 @@ void Entry::addSubEntry(Entry *current) void Entry::reset() { + static bool entryCallGraph = Config_getBool("CALL_GRAPH"); + static bool entryCallerGraph = Config_getBool("CALLER_GRAPH"); //printf("Entry::reset()\n"); name.resize(0); type.resize(0); @@ -245,8 +247,8 @@ void Entry::reset() bodyLine = -1; endBodyLine = -1; mGrpId = -1; - callGraph = FALSE; - callerGraph = FALSE; + callGraph = entryCallGraph; + callerGraph = entryCallerGraph; section = EMPTY_SEC; mtype = Method; virt = Normal; |