summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-05-11 14:53:47 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-02 12:36:44 (GMT)
commit2e837e0be05636923ef593c29299ff76c4590a09 (patch)
treea766d6d1abd6e6005a4d63a1e10fcceb2d407e45 /src/util.cpp
parent963e0adfd76e6a59ace5e7318f948632322b1e51 (diff)
downloadDoxygen-2e837e0be05636923ef593c29299ff76c4590a09.zip
Doxygen-2e837e0be05636923ef593c29299ff76c4590a09.tar.gz
Doxygen-2e837e0be05636923ef593c29299ff76c4590a09.tar.bz2
Added mainpage to context and improved page tree
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 0113e62..7fff1b9 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -8222,3 +8222,11 @@ void convertProtectionLevel(
// inListType,inProt,*outListType1,*outListType2);
}
+bool mainPageHasTitle()
+{
+ if (Doxygen::mainPage==0) return FALSE;
+ if (Doxygen::mainPage->title().isEmpty()) return FALSE;
+ if (Doxygen::mainPage->title().lower()=="notitle") return FALSE;
+ return TRUE;
+}
+