summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-02-03 10:42:52 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-02-03 10:42:52 (GMT)
commite1fea2781d4928ce1125933b073e19e9768ddf51 (patch)
treec6e72204c112ad8646d737990b93aa290c61c34c /src/definition.h
parent8efa01a96e2bac6ecc718da17b3fa1f29c9afccf (diff)
downloadDoxygen-e1fea2781d4928ce1125933b073e19e9768ddf51.zip
Doxygen-e1fea2781d4928ce1125933b073e19e9768ddf51.tar.gz
Doxygen-e1fea2781d4928ce1125933b073e19e9768ddf51.tar.bz2
Release-1.2.13-20020203
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/definition.h b/src/definition.h
index 6f384e9..2efbc92 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -64,17 +64,15 @@ class Definition
/*! Sets a new \a name for the definition */
void setName(const char *name) { m_name=name; }
/*! Sets the documentation of this definition to \a d. */
- void setDocumentation(const char *d,bool stripWhiteSpace=TRUE)
- {
- if (stripWhiteSpace)
- m_doc=((QCString)d).stripWhiteSpace();
- else
- m_doc=d;
- }
+ void setDocumentation(const char *d,const char *docFile,int docLine,bool stripWhiteSpace=TRUE);
+ int docLine() const { return m_docLine; }
+ QCString docFile() const { return m_docFile; }
/*! Sets the brief description of this definition to \a b.
* A dot is added to the sentence if not available.
*/
- void setBriefDescription(const char *b);
+ void setBriefDescription(const char *b,const char *briefFile,int briefLine);
+ int briefLine() const { return m_briefLine; }
+ QCString briefFile() const { return m_briefFile; }
/*! Returns TRUE iff the definition is documented */
virtual bool hasDocumentation() const;
virtual bool isLinkableInProject() const = 0;
@@ -155,6 +153,10 @@ class Definition
int m_testId; // id for test list item
int m_todoId; // id for todo list item
int m_bugId; // id for bug list item
+ int m_docLine;
+ QCString m_docFile;
+ int m_briefLine;
+ QCString m_briefFile;
};