diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-02-03 10:42:52 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-02-03 10:42:52 (GMT) |
commit | ac16b765b390a835d3f455691a2e3f6a0e94bd78 (patch) | |
tree | c6e72204c112ad8646d737990b93aa290c61c34c /src/definition.h | |
parent | 75fa97fc3cac911c348d177c98057dc68c61771b (diff) | |
download | Doxygen-ac16b765b390a835d3f455691a2e3f6a0e94bd78.zip Doxygen-ac16b765b390a835d3f455691a2e3f6a0e94bd78.tar.gz Doxygen-ac16b765b390a835d3f455691a2e3f6a0e94bd78.tar.bz2 |
Release-1.2.13-20020203
Diffstat (limited to 'src/definition.h')
-rw-r--r-- | src/definition.h | 18 |
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; }; |