summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index d1e577f..f53df1f 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -1,4 +1,6 @@
#include "pagedef.h"
+#include "groupdef.h"
+#include "docparser.h"
PageDef::PageDef(const char *f,int l,const char *n,
@@ -12,3 +14,14 @@ PageDef::PageDef(const char *f,int l,const char *n,
PageDef::~PageDef()
{
}
+
+void PageDef::findSectionsInDocumentation()
+{
+ docFindSections(documentation(),this,0,docFile());
+}
+
+GroupDef *PageDef::getGroupDef() const
+{
+ return partOfGroups() ? partOfGroups()->getFirst() : 0;
+}
+