diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-22 17:48:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 17:48:17 (GMT) |
commit | d244b46490a6c5e1d9179c46683811ad56557809 (patch) | |
tree | 696d43a393d5a2785448e0dcb0566f57a000b70c /src/layout.h | |
parent | a6da9a48ad520206462632496fc4c83d72bffe5a (diff) | |
parent | 786f8c9d2b55ebcde9e2702fc9dfc8ab1e4609b6 (diff) | |
download | Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.zip Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.gz Doxygen-d244b46490a6c5e1d9179c46683811ad56557809.tar.bz2 |
Merge branch 'master' into feature/bug_550158
Diffstat (limited to 'src/layout.h')
-rw-r--r-- | src/layout.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/layout.h b/src/layout.h index 3260a28..b1facf5 100644 --- a/src/layout.h +++ b/src/layout.h @@ -162,7 +162,8 @@ struct LayoutNavEntry QCString title() const { return m_title; } QCString intro() const { return m_intro; } QCString url() const; - bool visible() const { return m_visible; } + bool visible() { return m_visible; } + void clear() { m_children.clear(); } void addChild(LayoutNavEntry *e) { m_children.append(e); } void prependChild(LayoutNavEntry *e) { m_children.prepend(e); } const QList<LayoutNavEntry> &children() const { return m_children; } @@ -171,7 +172,6 @@ struct LayoutNavEntry private: LayoutNavEntry() : m_parent(0), m_kind(None), m_visible(FALSE) {} LayoutNavEntry *m_parent; - void clear() { m_children.clear(); } Kind m_kind; bool m_visible; QCString m_baseFile; @@ -179,7 +179,6 @@ struct LayoutNavEntry QCString m_intro; QList<LayoutNavEntry> m_children; friend class LayoutDocManager; - friend class LayoutParser; }; /** @brief Singleton providing access to the (user configurable) layout of the documentation */ @@ -204,7 +203,6 @@ class LayoutDocManager /** Parses a user provided layout */ void parse(const char *fileName); void init(); - void writeDefault(const char *fileName) const; private: void addEntry(LayoutPart p,LayoutDocEntry*e); void clear(LayoutPart p); @@ -214,6 +212,7 @@ class LayoutDocManager friend class LayoutParser; }; +void writeDefaultLayoutFile(const char *fileName); #endif |