diff options
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/organizercore.h b/src/organizercore.h index e4072b38..e9914ea7 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -73,7 +73,7 @@ public: void connectPlugins(PluginContainer *container);
void disconnectPlugins();
- void setManagedGame(const QString &gameName);
+ void setManagedGame(const QString &gameName, const QString &gamePath);
void updateExecutablesList(QSettings &settings);
@@ -85,13 +85,13 @@ public: MOShared::DirectoryEntry *directoryStructure() { return m_DirectoryStructure; }
DirectoryRefresher *directoryRefresher() { return &m_DirectoryRefresher; }
ExecutablesList *executablesList() { return &m_ExecutablesList; }
- void setExecutablesDialog(const ExecutablesList &executablesList) { m_ExecutablesList = executablesList; }
+ void setExecutablesList(const ExecutablesList &executablesList) {
+ m_ExecutablesList = executablesList;
+ }
Profile *currentProfile() { return m_CurrentProfile; }
void setCurrentProfile(const QString &profileName);
- void setExecutablesList(const ExecutablesList &executablesList);
-
std::set<QString> enabledArchives();
MOBase::VersionInfo getVersion() const { return m_Updater.getVersion(); }
@@ -198,6 +198,10 @@ private: void storeSettings();
+ QSettings::Status storeSettings(const QString &fileName);
+
+ QString commitSettings(const QString &iniFile);
+
bool queryLogin(QString &username, QString &password);
void updateModActiveState(int index, bool active);
@@ -240,6 +244,7 @@ private: PluginList m_PluginList;
QList<std::function<void()>> m_PostLoginTasks;
+ QList<std::function<void()>> m_PostRefreshTasks;
ExecutablesList m_ExecutablesList;
QStringList m_PendingDownloads;
|
