summaryrefslogtreecommitdiffstats
path: root/src/pagedef.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-03-16 22:09:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-03-16 22:09:59 (GMT)
commit5b23c9573e3e7925987dc706c17357d54f517e40 (patch)
tree087be77a871260c8a278c994394567a146fb25b8 /src/pagedef.h
parent8051d0cfdd4afcaaa8458926c807d471691dfb5e (diff)
downloadDoxygen-5b23c9573e3e7925987dc706c17357d54f517e40.zip
Doxygen-5b23c9573e3e7925987dc706c17357d54f517e40.tar.gz
Doxygen-5b23c9573e3e7925987dc706c17357d54f517e40.tar.bz2
Release-1.5.5-20080316
Diffstat (limited to 'src/pagedef.h')
-rw-r--r--src/pagedef.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/pagedef.h b/src/pagedef.h
index 98ed31b..2087d24 100644
--- a/src/pagedef.h
+++ b/src/pagedef.h
@@ -35,7 +35,6 @@ class PageDef : public Definition
{
return isLinkableInProject() || isReference();
}
- void addSubPage(PageDef *def);
void writeDocumentation(OutputList &ol);
// functions to get a uniform interface with Definitions
@@ -43,21 +42,25 @@ class PageDef : public Definition
void findSectionsInDocumentation();
QCString title() const { return m_title; }
GroupDef * getGroupDef() const;
- PageSDict * getSubPages() const { return subPageDict; }
+ PageSDict * getSubPages() const { return m_subPageDict; }
void setFileName(const char *name) { m_fileName = name; }
void addInnerCompound(Definition *d);
bool visibleInIndex() const;
bool documentedPage() const;
bool hasSubPages() const;
- void setPageScope(Definition *d){ pageScope = d; }
- Definition *getPageScope() const { return pageScope; }
+ bool hasParentPage() const;
+ void setPageScope(Definition *d){ m_pageScope = d; }
+ Definition *getPageScope() const { return m_pageScope; }
private:
+ void setNestingLevel(int l);
+ void writePageDocumentation(OutputList &ol);
QCString m_fileName;
QCString m_title;
GroupDef *m_inGroup;
- PageSDict *subPageDict; // list of pages in the group
- Definition *pageScope;
+ PageSDict *m_subPageDict; // list of pages in the group
+ Definition *m_pageScope;
+ int m_nestingLevel;
};
class PageSDict : public SDict<PageDef>