summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/definition.h b/src/definition.h
index 232e632..cf59b0a 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -101,6 +101,10 @@ class Definition
void writeSourceRefs(OutputList &ol,const char *scopeName);
void addSourceReference(MemberDef *d);
+ void setRefItems(int todoId,int testId) { m_todoId=todoId; m_testId=testId; }
+ int todoId() const { return m_todoId; }
+ int testId() const { return m_testId; }
+
/*! returns the file in which this definition was found */
QCString getDefFileName() const { return defFileName; }
/*! returns the line number at which the definition was found */
@@ -124,6 +128,8 @@ class Definition
MemberList *sourceRefList; // list of entities that refer to this
// entity in their definition
MemberDict *sourceRefDict;
+ int m_testId; // id for test case
+ int m_todoId; // id for todo case
};