summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-10-15 13:34:01 +0100
committerThomas Tanner <trtanner@btinternet.com>2015-10-15 13:34:01 +0100
commit9d88ca13b9b6a193dfb17a1ee3ea5e5cbed8a7e9 (patch)
tree8ec975d9efa7b4376573a1f3a05e0063e711e364 /src/installationmanager.h
parentec07d3d4d9ec2245f0b23edf6746f4ae1e5dfce4 (diff)
Added functionality to use the web page link in a fomod to supply an optional web page.
Also refactored modinfo into multiple files (as the actual types are opaque anyway) and cleaned up the headers a bit I also changed 'visit on nexus' from the menu not to open the downloads tab because it was a little confusing
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h
index 111b41f5..e5e5346f 100644
--- a/src/installationmanager.h
+++ b/src/installationmanager.h
@@ -59,6 +59,8 @@ public:
void setParentWidget(QWidget *widget);
+ void setURL(const QString &url);
+
/**
* @brief update the directory where mods are to be installed
* @param modsDirectory the mod directory
@@ -168,8 +170,6 @@ private:
bool isSimpleArchiveTopLayer(const MOBase::DirectoryTree::Node *node, bool bainStyle);
MOBase::DirectoryTree::Node *getSimpleArchiveBase(MOBase::DirectoryTree *dataTree);
- //bool testOverwrite(const QString &modsDirectory, MOBase::GuessedValue<QString> &modName, bool *merge = nullptr);
-
bool doInstall(MOBase::GuessedValue<QString> &modName,
int modID, const QString &version, const QString &newestVersion, int categoryID, const QString &repository);
@@ -212,6 +212,7 @@ private:
std::set<QString> m_TempFilesToDelete;
+ QString m_URL;
};