summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
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);