summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-09-28 18:26:46 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-09-28 18:26:46 (GMT)
commitb7473cd86e57053b866a719f160cd4d01e92f092 (patch)
tree01f67df4c4005875230919c5f826290b6a17a2e4 /src/filedef.cpp
parenta3133b16473d093f9c525cbf9d21fabbae7ae1ac (diff)
downloadDoxygen-b7473cd86e57053b866a719f160cd4d01e92f092.zip
Doxygen-b7473cd86e57053b866a719f160cd4d01e92f092.tar.gz
Doxygen-b7473cd86e57053b866a719f160cd4d01e92f092.tar.bz2
Release-1.3.8-20040928
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index fbadd59..32c0a5f 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -1110,4 +1110,9 @@ void FileDef::combineUsingRelations()
}
}
-
+bool FileDef::isDocumentationFile() const
+{
+ return name().right(4)==".doc" ||
+ name().right(4)==".txt" ||
+ name().right(4)==".dox";
+}