diff options
author | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-08 18:36:07 (GMT) |
---|---|---|
committer | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-08 18:36:07 (GMT) |
commit | 6e9c313b87a0daa86ca108e93d67fc4c9e5bec68 (patch) | |
tree | 918babf3afc522698cc5ff63bd28ff5f8897964a /src/util.cpp | |
parent | 5620fa248663fa5ee8b2d8a26d773df60c2a4994 (diff) | |
download | Doxygen-6e9c313b87a0daa86ca108e93d67fc4c9e5bec68.zip Doxygen-6e9c313b87a0daa86ca108e93d67fc4c9e5bec68.tar.gz Doxygen-6e9c313b87a0daa86ca108e93d67fc4c9e5bec68.tar.bz2 |
mods for doxygen-1.0.0
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index c8abf28..952445a 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -32,6 +32,7 @@ #include "config.h" #include "htmlhelp.h" #include "example.h" +#include "version.h" // an inheritance tree of depth of 100000 should be enough for everyone :-) const int maxInheritanceDepth = 100000; @@ -1878,3 +1879,16 @@ void setFileNameForSections(QList<QCString> *anchorList,const char *fileName) } } +//---------------------------------------------------------------------- + +QCString substituteKeywords(QCString &s,const char *title) +{ + if (title) s = substitute(s,"$title",title); + s = substitute(s,"$datetime",dateToString(TRUE)); + s = substitute(s,"$date",dateToString(FALSE)); + s = substitute(s,"$doxygenversion",versionString); + s = substitute(s,"$projectname",Config::projectName); + s = substitute(s,"$projectnumber",Config::projectNumber); + return s; +} + |