diff options
| author | Tannin <devnull@localhost> | 2013-08-15 22:13:18 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-08-15 22:13:18 +0200 |
| commit | 7d79e3ad1e8a710e836e1cd44106a610e6d2a049 (patch) | |
| tree | 5193b33f6a943fd599832aaba46a653f7d471021 /src/modinfo.h | |
| parent | d0f2c4fcf79222d5c6f3c17188a811b0a47833c6 (diff) | |
- bugfix: nameprefix-flag incorrectly interpreted on oblivion-style bsas
- bugfix: optimization for missing inis fixed
- bugfix: fixmods didn't search for esps in overwrite
- bugfix: configurator didn't work for fallout new vegas because of a missing cast
- bugfix: configurator attempted parameter formatting on ini files instead of using the raw data
- bugfix: searching for a path in the directory structure could cause a crash when not using the directory output
- optimization to findfirstfile for cases where a single file is searched
- display of bsas changed. hopefully it is more understandable now
- cache for the test whether a mod is in conflict. Should speed ab scrolling in mod list
- mod list has now an additional column for the installation time
- nmm importer no longer cancels in cases where a data file references an undeclared mod.
- integrated improved settings.json for the configurator contributed by "delta534"
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index 74a77cd2..e6c6e6ac 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -354,11 +354,16 @@ public: virtual QString getDescription() const = 0; /** - * @return manually set notes for this mod + * @return notes for this mod */ virtual QString notes() const = 0; /** + * @return creation time of this mod + */ + virtual QDateTime creationTime() const = 0; + + /** * @return nexus description of the mod (html) */ virtual QString getNexusDescription() const = 0; @@ -670,6 +675,11 @@ public: virtual QString notes() const; /** + * @return time this mod was created (file time of the directory) + */ + virtual QDateTime creationTime() const; + + /** * @return nexus description of the mod (html) */ QString getNexusDescription() const; @@ -729,6 +739,7 @@ private: QString m_Notes; QString m_NexusDescription; + QDateTime m_CreationTime; QDateTime m_LastNexusQuery; int m_NexusID; @@ -742,6 +753,9 @@ private: MOShared::DirectoryEntry **m_DirectoryStructure; + mutable EConflictType m_CurrentConflictState; + mutable QTime m_LastConflictCheck; + }; @@ -797,6 +811,7 @@ public: virtual void endorse(bool) {} virtual QString name() const { return tr("Overwrite"); } virtual QString notes() const { return ""; } + virtual QDateTime creationTime() const { return QDateTime::currentDateTime(); } virtual QString absolutePath() const; virtual MOBase::VersionInfo getNewestVersion() const { return ""; } virtual QString getInstallationFile() const { return ""; } |
