From dbb3f5117a3f977bbef34ebdab217f379429d1f2 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Sat, 15 Feb 2020 14:22:42 -0500 Subject: removed directoryrefresher.h from organizercore.h --- src/organizercore.h | 41 ++++++++++++++++------------------------- 1 file changed, 16 insertions(+), 25 deletions(-) (limited to 'src/organizercore.h') diff --git a/src/organizercore.h b/src/organizercore.h index 980156d3..a4d1a799 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -1,13 +1,11 @@ #ifndef ORGANIZERCORE_H #define ORGANIZERCORE_H - #include "selfupdater.h" #include "settings.h" #include "modlist.h" #include "modinfo.h" #include "pluginlist.h" -#include "directoryrefresher.h" #include "installationmanager.h" #include "downloadmanager.h" #include "executableslist.h" @@ -23,17 +21,6 @@ #include "executableinfo.h" #include -class ModListSortProxy; -class PluginListSortProxy; -class Profile; -class IUserInterface; - -namespace MOBase { - template class GuessedValue; - class IModInterface; -} -namespace MOShared { class DirectoryEntry; } - #include #include #include @@ -44,21 +31,25 @@ namespace MOShared { class DirectoryEntry; } #include #include -class QNetworkReply; -class QUrl; -class QWidget; - -#include //for HANDLE, LPDWORD - -#include -#include - +class ModListSortProxy; +class PluginListSortProxy; +class Profile; +class IUserInterface; class PluginContainer; +class DirectoryRefresher; -namespace MOBase { +namespace MOBase +{ + template class GuessedValue; + class IModInterface; class IPluginGame; } +namespace MOShared +{ + class DirectoryEntry; +} + class OrganizerCore : public QObject, public MOBase::IPluginDiagnose { @@ -113,7 +104,7 @@ public: SelfUpdater *updater() { return &m_Updater; } InstallationManager *installationManager(); MOShared::DirectoryEntry *directoryStructure() { return m_DirectoryStructure; } - DirectoryRefresher *directoryRefresher() { return &m_DirectoryRefresher; } + DirectoryRefresher *directoryRefresher() { return m_DirectoryRefresher.get(); } ExecutablesList *executablesList() { return &m_ExecutablesList; } void setExecutablesList(const ExecutablesList &executablesList) { m_ExecutablesList = executablesList; @@ -337,7 +328,7 @@ private: QStringList m_DefaultArchives; QStringList m_ActiveArchives; - DirectoryRefresher m_DirectoryRefresher; + std::unique_ptr m_DirectoryRefresher; MOShared::DirectoryEntry *m_DirectoryStructure; DownloadManager m_DownloadManager; -- cgit v1.3.1