summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
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.cpp
parent8efa01a96e2bac6ecc718da17b3fa1f29c9afccf (diff)
downloadDoxygen-e1fea2781d4928ce1125933b073e19e9768ddf51.zip
Doxygen-e1fea2781d4928ce1125933b073e19e9768ddf51.tar.gz
Doxygen-e1fea2781d4928ce1125933b073e19e9768ddf51.tar.bz2
Release-1.2.13-20020203
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 3942edf..5e3c0e5 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -102,8 +102,17 @@ void Definition::writeDocAnchorsToTagFile()
}
}
+void Definition::setDocumentation(const char *d,const char *docFile,int docLine,bool stripWhiteSpace=TRUE)
+{
+ if (stripWhiteSpace)
+ m_doc=((QCString)d).stripWhiteSpace();
+ else
+ m_doc=d;
+ m_docFile = docFile;
+ m_docLine = docLine;
+}
-void Definition::setBriefDescription(const char *b)
+void Definition::setBriefDescription(const char *b,const char *briefFile,int briefLine)
{
m_brief=QCString(b).stripWhiteSpace();
int bl=m_brief.length();
@@ -115,6 +124,8 @@ void Definition::setBriefDescription(const char *b)
default: m_brief+='.'; break;
}
}
+ m_briefFile = briefFile;
+ m_briefLine = briefLine;
}
/*! Reads a fragment of code from file \a fileName starting at