summaryrefslogtreecommitdiffstats
path: root/src/mangen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-10-15 15:32:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-10-15 15:32:16 (GMT)
commit868208ab61ca3aa6f506076f60de2745eaa8a6be (patch)
tree7824ba2a5c9f1fe6ddc8633a13cc7d1e7a6c79a3 /src/mangen.cpp
parent499475795ed160e3a1e9cb571adc1ad86dc6a8ba (diff)
downloadDoxygen-868208ab61ca3aa6f506076f60de2745eaa8a6be.zip
Doxygen-868208ab61ca3aa6f506076f60de2745eaa8a6be.tar.gz
Doxygen-868208ab61ca3aa6f506076f60de2745eaa8a6be.tar.bz2
Release-1.2.2-20001015
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r--src/mangen.cpp19
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)
{