diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-10-15 15:32:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-10-15 15:32:16 (GMT) |
commit | eb7f0413527724df305245200c56f54ab2853ab7 (patch) | |
tree | 7824ba2a5c9f1fe6ddc8633a13cc7d1e7a6c79a3 /src/mangen.cpp | |
parent | 0d0eec1df129221379625a52e5fe8ff6f21f104c (diff) | |
download | Doxygen-eb7f0413527724df305245200c56f54ab2853ab7.zip Doxygen-eb7f0413527724df305245200c56f54ab2853ab7.tar.gz Doxygen-eb7f0413527724df305245200c56f54ab2853ab7.tar.bz2 |
Release-1.2.2-20001015
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r-- | src/mangen.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp index cd5718c..852a0f4 100644 --- a/src/mangen.cpp +++ b/src/mangen.cpp @@ -73,10 +73,29 @@ void ManGenerator::init() void ManGenerator::startFile(const char *name,const char *,bool) { QCString fileName=name; + + // TODO: do something sensible here. if (fileName.left(6)=="class_") { fileName=fileName.right(fileName.length()-6); } + else if (fileName.left(10)=="interface_") + { + fileName=fileName.right(fileName.length()-10); + } + else if (fileName.left(7)=="struct_") + { + fileName=fileName.right(fileName.length()-7); + } + else if (fileName.left(6)=="union_") + { + fileName=fileName.right(fileName.length()-6); + } + else if (fileName.left(10)=="exception_") + { + fileName=fileName.right(fileName.length()-10); + } + int i; if ((i=fileName.findRev('.'))!=-1) { |