summaryrefslogtreecommitdiffstats
path: root/addon/xmlparse/memberhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'addon/xmlparse/memberhandler.h')
-rw-r--r--addon/xmlparse/memberhandler.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/addon/xmlparse/memberhandler.h b/addon/xmlparse/memberhandler.h
index e79835f..ccb4a57 100644
--- a/addon/xmlparse/memberhandler.h
+++ b/addon/xmlparse/memberhandler.h
@@ -25,6 +25,7 @@
#include "doxmlintf.h"
class DocHandler;
+class MainHandler;
class MemberHandler : public IMember, public BaseHandler<MemberHandler>
{
@@ -54,12 +55,21 @@ class MemberHandler : public IMember, public BaseHandler<MemberHandler>
virtual QString name() const { return m_name; }
virtual QListIterator<IParam> getParamIterator() const { return m_params; }
+ void initialize(MainHandler *m);
+
private:
- struct MemberReference
+ struct MemberReference : public IMemberReference
{
- QString m_memId;
- QString m_name;
- int line;
+ virtual ~MemberReference() {}
+ virtual IMember *getMember() const;
+ virtual QString getMemberName() const { return m_name; }
+ virtual int getLineNumber() const { return m_line; }
+ void initialize(MainHandler *m);
+
+ QString m_memId;
+ QString m_name;
+ int m_line;
+ MainHandler *m_mainHandler;
};
IBaseHandler *m_parent;