summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:36:24 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:36:24 (GMT)
commita54eecdf4b3c961ff41bc5d3ea6f21713e08f903 (patch)
treec32965e6b0858adc9a1f108b7b4d909568efd52e /src/definition.cpp
parent1d4e23de96d6e6065089a909ccba321fe5fa7f28 (diff)
downloadDoxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.zip
Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.tar.gz
Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.tar.bz2
mods for doxygen-0.49-991003
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 4474113..59c9ac9 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -73,3 +73,17 @@ void Definition::addSectionsToDefinition(QList<QCString> *anchorList)
s=anchorList->next();
}
}
+
+void Definition::setBriefDescription(const char *b)
+{
+ brief=QCString(b).stripWhiteSpace();
+ int bl=brief.length();
+ if (bl>0) // add puntuation if needed
+ {
+ switch(brief.at(bl-1))
+ {
+ case '.': case '!': case '?': break;
+ default: brief+='.'; break;
+ }
+ }
+}