summaryrefslogtreecommitdiffstats
path: root/src/filedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filedef.h')
-rw-r--r--src/filedef.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/filedef.h b/src/filedef.h
index 2af7f94..a5719ee 100644
--- a/src/filedef.h
+++ b/src/filedef.h
@@ -109,6 +109,9 @@ class FileDef : public Definition
/*! Returns the absolute path of this file. */
QCString getPath() const { return path; }
+
+ /*! Returns version of this file. */
+ QCString getVersion() const { return fileVersion; }
bool isLinkableInProject() const
{
@@ -187,6 +190,13 @@ class FileDef : public Definition
bool visited;
+ protected:
+ /**
+ * Retrieves the file version from version control system.
+ */
+ void acquireFileVersion();
+
+
private:
QDict<IncludeInfo> *includeDict;
@@ -195,16 +205,15 @@ class FileDef : public Definition
QList<IncludeInfo> *includedByList;
NamespaceSDict *usingDirList;
SDict<Definition> *usingDeclList;
- //DefineList *defineList;
QCString path;
QCString filepath;
QCString diskname;
QCString filename;
QCString docname;
- //QCString incName;
QIntDict<Definition> *srcDefDict;
QIntDict<MemberDef> *srcMemberDict;
bool isSource;
+ QCString fileVersion;
PackageDef *package;
DirDef *dir;