summaryrefslogtreecommitdiffstats
path: root/src/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/page.h')
-rw-r--r--src/page.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/page.h b/src/page.h
index 303d43c..d2101c5 100644
--- a/src/page.h
+++ b/src/page.h
@@ -25,7 +25,8 @@ class PageInfo
public:
PageInfo(const char *f, int l,const char *n,const char *d,const char *t) :
defFileName(f), defLine(l), name(n),
- doc(d), title(t), sectionDict(0),specialListItems(0),m_inGroup(0) {}
+ doc(d), title(t), context(0), sectionDict(0),specialListItems(0),m_inGroup(0)
+ {}
// where the page definition was found
QCString defFileName;
@@ -40,6 +41,9 @@ class PageInfo
QCString reference;
QCString fileName;
+ // class, file or namespace in which the page was found
+ Definition *context;
+
// functions to get a uniform interface with Definitions
QCString getOutputFileBase() const { return fileName; }
bool isReference() const { return !reference.isEmpty(); }