summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-02-09 19:18:25 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-02-09 19:18:25 (GMT)
commitaacd1557af129e2bff3514169e04168376a2431b (patch)
tree95ba82f21de02e4db4763daea53134c8e56fb1df /src/definition.h
parentdcd4714c4413348d02eb7224dafee5d06be43dfb (diff)
downloadDoxygen-aacd1557af129e2bff3514169e04168376a2431b.zip
Doxygen-aacd1557af129e2bff3514169e04168376a2431b.tar.gz
Doxygen-aacd1557af129e2bff3514169e04168376a2431b.tar.bz2
Release-1.8.3.1-20130209
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/definition.h b/src/definition.h
index 9bbc85e..285e889 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -95,7 +95,7 @@ class Definition : public DefinitionIntf, public LockableObj
/*! Create a new definition */
Definition(
- const char *defFileName,int defLine,
+ const char *defFileName,int defLine,int defColumn,
const char *name,const char *b=0,const char *d=0,
bool isSymbol=TRUE);
@@ -180,6 +180,9 @@ class Definition : public DefinitionIntf, public LockableObj
/*! returns the line number at which the definition was found */
int getDefLine() const { return m_defLine; }
+ /*! returns the column number at which the definition was found */
+ int getDefColumn() const { return m_defColumn; }
+
/*! Returns TRUE iff the definition is documented
* (which could be generated documentation)
* @see hasUserDocumentation()
@@ -287,8 +290,8 @@ class Definition : public DefinitionIntf, public LockableObj
// source references
void setBodySegment(int bls,int ble);
void setBodyDef(FileDef *fd);
- void addSourceReferencedBy(MemberDef *d);
- void addSourceReferences(MemberDef *d);
+ void addSourceReferencedBy(MemberDef *d, const char *floc=NULL);
+ void addSourceReferences(MemberDef *d, const char *floc);
void setRefItems(const QList<ListItemInfo> *sli);
void mergeRefItems(Definition *d);
@@ -354,6 +357,7 @@ class Definition : public DefinitionIntf, public LockableObj
bool m_isSymbol;
QCString m_symbolName;
int m_defLine;
+ int m_defColumn;
};
/** A list of Definition objects. */