diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-17 02:47:07 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-17 02:47:07 -0500 |
| commit | 7688175c68c2f1ce85951173c0aa3e186587aa1f (patch) | |
| tree | fdbe99b1158c90ae5dc71a9d7871dd236f2e2c24 /src/modinfo.h | |
| parent | b4eae6e5d1cbd92140e9a1058d623a4338a35c43 (diff) | |
Add source game setter in mod info dialog
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index f321f068..07dccafd 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -265,7 +265,14 @@ public: * @brief change the notes (manually set information) for this mod
* @param notes new notes
*/
- virtual void setNotes(const QString ¬es) = 0;
+ virtual void setNotes(const QString ¬es) = 0; + + /** + * @brief set/change the source game of this mod + * + * @param gameName the source game shortName + */ + virtual void setGameName(QString gameName) = 0;
/**
* @brief set/change the nexus mod id of this mod
@@ -411,13 +418,13 @@ public: *
* @return the nexus mod id. may be 0 if the mod id isn't known or doesn't exist
**/
- virtual int getNexusID() const = 0; - - /** - * @brief getter for the source game repository - * - * @return the source game repository. should default to the active game. - **/ + virtual int getNexusID() const = 0;
+
+ /**
+ * @brief getter for the source game repository
+ *
+ * @return the source game repository. should default to the active game.
+ **/
virtual QString getGameName() const = 0;
/**
|
