diff options
| author | Tannin <devnull@localhost> | 2014-05-25 15:39:45 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-05-25 15:39:45 +0200 |
| commit | cf0a1bc2be22c8784fd098e00e05e46373afe602 (patch) | |
| tree | 3f2140aae72dbebb1ef5c475eb019bb246f469d2 /src/directoryrefresher.h | |
| parent | 48c8cca578c415152e64b3c3a6e1523dbc76b4d8 (diff) | |
- 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
Diffstat (limited to 'src/directoryrefresher.h')
| -rw-r--r-- | src/directoryrefresher.h | 10 |
1 files changed, 6 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. #ifndef DIRECTORYREFRESHER_H #define DIRECTORYREFRESHER_H +#include <directoryentry.h> #include <QObject> -#include <vector> #include <QMutex> +#include <vector> +#include <set> #include <tuple> -#include <directoryentry.h> /** @@ -60,7 +61,7 @@ public: * * @param mods list of the mods to include **/ - void setMods(const std::vector<std::tuple<QString, QString, int> > &mods); + void setMods(const std::vector<std::tuple<QString, QString, int> > &mods, const std::set<QString> &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<std::tuple<QString, QString, int> > m_Mods; + std::set<QString> m_ManagedArchives; MOShared::DirectoryEntry *m_DirectoryStructure; QMutex m_RefreshLock; |
