diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-01-19 21:02:02 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-01-19 21:02:02 (GMT) |
commit | 92792d3adc9011f35467341eb535ed3580ddb901 (patch) | |
tree | a3abc0d2a3da492a873fd59a140684da6a15924e /src/filedef.cpp | |
parent | f781e6dbbaa51edbdbe9b5906be9962968d0ee68 (diff) | |
download | Doxygen-92792d3adc9011f35467341eb535ed3580ddb901.zip Doxygen-92792d3adc9011f35467341eb535ed3580ddb901.tar.gz Doxygen-92792d3adc9011f35467341eb535ed3580ddb901.tar.bz2 |
Release-1.3-rc2-20030119
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index e48b398..9d9edcc 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2002 by Dimitri van Heesch. + * Copyright (C) 1997-2003 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -36,14 +36,17 @@ \a the file name, and \a ref is an HTML anchor name if the file was read from a tag file or 0 otherwise */ -FileDef::FileDef(const char *p,const char *nm,const char *lref) +FileDef::FileDef(const char *p,const char *nm, + const char *lref,const char *dn) : Definition((QCString)p+nm,1,nm) { path=p; filepath=path+nm; filename=nm; - diskname=nm; + diskname=dn; + if (diskname.isEmpty()) diskname=nm; setReference(lref); + //printf("new FileDef(path=%s,name=%s,ref=%s)\n",p,nm,lref); classSDict = new ClassSDict(17); includeList = new QList<IncludeInfo>; includeList->setAutoDelete(TRUE); |