diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-02-08 18:36:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-02-08 18:36:07 (GMT) |
commit | 19119105076ca1b361b11b49df61050879c1e054 (patch) | |
tree | 918babf3afc522698cc5ff63bd28ff5f8897964a /src/util.cpp | |
parent | ea50604595d368f3b9a63a3dbfe55d984986abb0 (diff) | |
download | Doxygen-19119105076ca1b361b11b49df61050879c1e054.zip Doxygen-19119105076ca1b361b11b49df61050879c1e054.tar.gz Doxygen-19119105076ca1b361b11b49df61050879c1e054.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; +} + |