From cf0a1bc2be22c8784fd098e00e05e46373afe602 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 25 May 2014 15:39:45 +0200 Subject: - files in bsas are now only displayed in the data tab if they are managed by mo - number of problems detected by MO is now displayed as a badge on the icon - rephrased the explanation text on the Archives tab. unchecked plugin-loaded bsas no longer prompt a warning - bsa extraction is now handled in a plugin - added a way for plugins to react to mod installation - re-enabled the automatic fix for asset order problems - bugfix: In some cases when a download wasn't started successfully the download urls weren't stored in the meta file so no resume was possible - bugfix: MO tried to resume downloads when it didn't have and download urls - bugfix: downloads couldn't be paused if the download was already broken on the network layer - bugfix: download managear did not recognize a file as downloaded if the download completed before signals were hooked up - bugfix: in-place file replacement was re-broken --- src/directoryrefresher.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/directoryrefresher.h') diff --git a/src/directoryrefresher.h b/src/directoryrefresher.h index a6c8f00b..691448fa 100644 --- a/src/directoryrefresher.h +++ b/src/directoryrefresher.h @@ -20,11 +20,12 @@ along with Mod Organizer. If not, see . #ifndef DIRECTORYREFRESHER_H #define DIRECTORYREFRESHER_H +#include #include -#include #include +#include +#include #include -#include /** @@ -60,7 +61,7 @@ public: * * @param mods list of the mods to include **/ - void setMods(const std::vector > &mods); + void setMods(const std::vector > &mods, const std::set &managedArchives); /** * @brief sets up the directory where mods are stored @@ -82,7 +83,7 @@ public: * @param directory * @param priorityDir */ - static void addModToStructure(MOShared::DirectoryEntry *directoryStructure, const QString &modName, int priority, const QString &directory); + void addModToStructure(MOShared::DirectoryEntry *directoryStructure, const QString &modName, int priority, const QString &directory); public slots: @@ -100,6 +101,7 @@ signals: private: std::vector > m_Mods; + std::set m_ManagedArchives; MOShared::DirectoryEntry *m_DirectoryStructure; QMutex m_RefreshLock; -- cgit v1.3.1