summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-01-19 21:02:02 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-01-19 21:02:02 (GMT)
commitafb84237b8c3024f2f35346ba3ee4532e1a8b507 (patch)
treea3abc0d2a3da492a873fd59a140684da6a15924e /src/filedef.cpp
parentbe32faf9e70cecf7583687c1ce875071abd99005 (diff)
downloadDoxygen-afb84237b8c3024f2f35346ba3ee4532e1a8b507.zip
Doxygen-afb84237b8c3024f2f35346ba3ee4532e1a8b507.tar.gz
Doxygen-afb84237b8c3024f2f35346ba3ee4532e1a8b507.tar.bz2
Release-1.3-rc2-20030119
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp9
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);