diff options
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index bbb1aae3..b73073ed 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -352,6 +352,21 @@ public: // IModInterface implementations / Re-declaration virtual QStringList categories() const override; /** + * @return the author of the mod. + */ + virtual QString author() const = 0; + + /** + * @return the name of the uploader of this mod. + */ + virtual QString uploader() const = 0; + + /** + * @return the URL of the uploader of this mod's profile. + */ + virtual QString uploaderUrl() const = 0; + + /** * @return the tracked state of this mod. */ virtual MOBase::TrackedState trackedState() const override @@ -486,6 +501,21 @@ public: // Mutable operations: */ virtual bool setName(const QString& name) = 0; + /** + * @brief Set the author of the mod. + */ + virtual void setAuthor(const QString& author) = 0; + + /** + * @brief Set the name of the uploader of this mod. + */ + virtual void setUploader(const QString& uploader) = 0; + + /** + * @brief Set the URL of the uploader of this mod's profile. + */ + virtual void setUploaderUrl(const QString& uploaderUrl) = 0; + public: // Methods after this do not come from IModInterface: /** * @return true if this mod is empty, false otherwise. |
