summaryrefslogtreecommitdiff
path: root/src/directoryrefresher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/directoryrefresher.h')
-rw-r--r--src/directoryrefresher.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/directoryrefresher.h b/src/directoryrefresher.h
index 2e6de1a0..771aaa95 100644
--- a/src/directoryrefresher.h
+++ b/src/directoryrefresher.h
@@ -30,6 +30,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <tuple>
#include <vector>
+class OrganizerCore;
+
/**
* @brief used to asynchronously generate the virtual view of the combined data
*directory
@@ -54,7 +56,7 @@ public:
int priority;
};
- DirectoryRefresher(std::size_t threadCount);
+ DirectoryRefresher(OrganizerCore* core, std::size_t threadCount);
/**
* @brief retrieve the updated directory structure
@@ -146,6 +148,8 @@ signals:
void refreshed();
private:
+ OrganizerCore& m_Core;
+
std::vector<EntryInfo> m_Mods;
std::set<QString> m_EnabledArchives;
std::unique_ptr<MOShared::DirectoryEntry> m_Root;