summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-01-04 10:13:12 +0100
committerTannin <devnull@localhost>2015-01-04 10:13:12 +0100
commitbd8267993d1ed0292200f3052e3c30d4fc9c84f7 (patch)
tree6314f0ba928e81349417a8de495746b1b18cee11 /src/organizercore.h
parentf5c56efeb3f362378459fdc1ddbf1fc71a2351f8 (diff)
- fixes after merge
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index ad63dc51..1e03b20c 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -92,6 +92,8 @@ public:
ModListSortProxy *createModListProxyModel();
PluginListSortProxy *createPluginListProxyModel();
+ HANDLE spawnBinaryDirect(const QFileInfo &binary, const QString &arguments, const QString &profileName, const QDir &currentDirectory, const QString &steamAppID);
+
bool isArchivesInit() const { return m_ArchivesInit; }
bool saveCurrentLists();
@@ -107,7 +109,7 @@ public:
void requestDownload(const QUrl &url, QNetworkReply *reply);
- void doAfterLogin(std::function<void()> &function) { m_PostLoginTasks.append(function); }
+ void doAfterLogin(const std::function<void()> &function) { m_PostLoginTasks.append(function); }
void spawnBinary(const QFileInfo &binary, const QString &arguments = "", const QDir &currentDirectory = QDir(), bool closeAfterStart = true, const QString &steamAppID = "");
@@ -118,6 +120,8 @@ public:
void loginFailed(const QString &message);
void loginFailedUpdate(const QString &message);
+ void syncOverwrite();
+
public:
virtual MOBase::IGameInfo &gameInfo() const;
virtual MOBase::IModRepositoryBridge *createNexusBridge() const;
@@ -162,6 +166,7 @@ public slots:
void profileRefresh();
void externalMessage(const QString &message);
+ void installDownload(int index);
void refreshLists();
@@ -171,7 +176,7 @@ signals:
* @brief emitted after a mod has been installed
* @node this is currently only used for tutorials
*/
- void modInstalled();
+ void modInstalled(const QString &modName);
private:
@@ -181,9 +186,11 @@ private:
bool nexusLogin();
- HANDLE spawnBinaryDirect(const QFileInfo &binary, const QString &arguments, const QString &profileName, const QDir &currentDirectory, const QString &steamAppID);
void updateModActiveState(int index, bool active);
+ bool testForSteam();
+ QStringList defaultArchiveList();
+
private slots:
void directory_refreshed();