diff options
| author | Tannin <devnull@localhost> | 2014-12-14 16:30:23 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-12-14 16:30:23 +0100 |
| commit | 7fb7207ac79537bb84a1d71eefa9366dea6b0688 (patch) | |
| tree | 3e688eea7d22b4af71b47169cdc67504217eb2d2 /src/modinfo.h | |
| parent | 64eced4614657f22b22ba565df497a010499bf30 (diff) | |
custom installers can now set the installation file (and the ncc installer now does)
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index dbb5decf..70bc88c6 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -273,6 +273,12 @@ public: virtual void setNexusDescription(const QString &description) = 0;
/**
+ * @brief sets the file this mod was installed from
+ * @param fileName name of the file
+ */
+ virtual void setInstallationFile(const QString &fileName) = 0;
+
+ /**
* @brief sets the category id from a nexus category id. Conversion to MO id happens internally
* @param categoryID the nexus category id
* @note if a mapping is not possible, the category is set to the default value
@@ -705,6 +711,8 @@ public: */
virtual void setNexusDescription(const QString &description);
+ virtual void setInstallationFile(const QString &fileName);
+
/**
* @brief sets the category id from a nexus category id. Conversion to MO id happens internally
* @param categoryID the nexus category id
@@ -945,6 +953,7 @@ public: virtual void setNewestVersion(const MOBase::VersionInfo&) {}
virtual void ignoreUpdate(bool) {}
virtual void setNexusDescription(const QString&) {}
+ virtual void setInstallationFile(const QString&) {}
virtual void addNexusCategory(int) {}
virtual void setIsEndorsed(bool) {}
virtual void setNeverEndorse() {}
@@ -1004,6 +1013,7 @@ public: virtual void setNewestVersion(const MOBase::VersionInfo&) {}
virtual void ignoreUpdate(bool) {}
virtual void setNexusDescription(const QString&) {}
+ virtual void setInstallationFile(const QString&) {}
virtual void addNexusCategory(int) {}
virtual void setIsEndorsed(bool) {}
virtual void setNeverEndorse() {}
|
