summaryrefslogtreecommitdiffstats
path: root/src/pagedef.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-03-16 22:09:59 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-03-16 22:09:59 (GMT)
commitf630007a569f8342ada7b2ecf06692353ddbce3c (patch)
tree087be77a871260c8a278c994394567a146fb25b8 /src/pagedef.h
parentfb91b752942b81dac21be5ad18bcb09fbafa711b (diff)
downloadDoxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.zip
Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.tar.gz
Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.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>