diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-04-08 19:19:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-04-08 19:19:32 (GMT) |
commit | 8f195c2d389edeeaf0f76de36c5b5db788b6e312 (patch) | |
tree | 120d3069adfaa3da505045185569c8c67554d055 /src/filedef.h | |
parent | c47269c4f1fb1387d6876075f3b2e935354d5b76 (diff) | |
download | Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.zip Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.tar.gz Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.tar.bz2 |
Doxygen-1.2.6-20010408
Diffstat (limited to 'src/filedef.h')
-rw-r--r-- | src/filedef.h | 46 |
1 files changed, 14 insertions, 32 deletions
diff --git a/src/filedef.h b/src/filedef.h index 30972ef..d042601 100644 --- a/src/filedef.h +++ b/src/filedef.h @@ -25,6 +25,7 @@ #include "config.h" #include "definition.h" #include "memberlist.h" +#include "util.h" class FileDef; class FileList; @@ -72,19 +73,28 @@ class FileDef : public Definition /*! Returns the unique file name (this may include part of the path). */ QCString name() const { - if (Config::instance()->getBool("FULL_PATH_NAMES")) + if (Config_getBool("FULL_PATH_NAMES")) return filename; else return Definition::name(); } - QCString getOutputFileBase() const { return diskname; } + QCString getOutputFileBase() const + { return convertNameToFile(diskname); } + + QCString getFileBase() const + { return diskname; } + + QCString getSourceFileBase() const + { return convertNameToFile(diskname+"-source"); } + + /*! Returns the name of the verbatim copy of this file (if any). */ + QCString includeName() const + { return convertNameToFile(diskname+"-source"); } /*! Returns the absolute path including the file name. */ QCString absFilePath() const { return filepath; } - /*! Returns the name of the verbatim copy of this file (if any). */ - QCString includeName() const { return diskname+"-source"; } /*! Returns the name as it is used in the documentation */ QCString docName() const { return docname; } @@ -178,34 +188,6 @@ class FileDef : public Definition PackageDef *package; }; -#if 0 // obsolete -/*! \class FileList filedef.h - \brief This class is list of file definitions. - - It is based on QList. -*/ - -class FileList : public QList<FileDef> -{ - public: - FileList(); - ~FileList(); - - int compareItems(GCI item1,GCI item2); -}; - -/*! \class FileListIterator filedef.h - \brief This class represents a file list iterator. - - It is based on QListIterator. -*/ - -class FileListIterator : public QListIterator<FileDef> -{ - public: - FileListIterator(const FileList &list); -}; -#endif class FileList : public QList<FileDef> { |