summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
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