summaryrefslogtreecommitdiffstats
path: root/src/filedef.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-09-10 15:26:30 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-09-10 15:26:30 (GMT)
commitb91275de37e317332d5c461e4d66a8685e682f80 (patch)
tree19b06b53ec293b6d690ff3d82f256f67576dee1c /src/filedef.h
parent6838640c89552dd1e4495a4a9101754c4d7d4011 (diff)
downloadDoxygen-b91275de37e317332d5c461e4d66a8685e682f80.zip
Doxygen-b91275de37e317332d5c461e4d66a8685e682f80.tar.gz
Doxygen-b91275de37e317332d5c461e4d66a8685e682f80.tar.bz2
Release-20000910
Diffstat (limited to 'src/filedef.h')
-rw-r--r--src/filedef.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/filedef.h b/src/filedef.h
index ff9f5b5..78eb138 100644
--- a/src/filedef.h
+++ b/src/filedef.h
@@ -120,8 +120,11 @@ class FileDef : public Definition
void addUsingDeclaration(ClassDef *cd);
ClassList *getUsedClasses() const { return usingDeclList; }
- void setGenerateSource(bool b) { isSource=b; }
- bool generateSource() const { return isSource; }
+ //void setGenerateSource(bool b) { isSource=b; }
+ bool generateSourceFile() const
+ { return !isReference() &&
+ (Config::sourceBrowseFlag || Config::verbatimHeaderFlag);
+ }
void addIncludeDependency(FileDef *fd,const char *incName,bool local);
void addIncludedByDependency(FileDef *fd,const char *incName,bool local);