summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-06-10 22:09:32 +0200
committerTannin <devnull@localhost>2015-06-10 22:09:32 +0200
commit793dfb1637322c60bcbf32fdc5a9c23bb7ed5ec4 (patch)
tree29fb382b16bc6987132701efd46691302ef8800d /src/modinfo.h
parentd25a81071c078585f14176283b89e1a6b0ad5795 (diff)
added plugin interface to add/remove/list categories to/from/of mods
Diffstat (limited to 'src/modinfo.h')
-rw-r--r--src/modinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index 8c8d2baf..ba248bdb 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -300,6 +300,10 @@ public:
*/
virtual void addNexusCategory(int categoryID) = 0;
+ virtual void addCategory(const QString &categoryName) override;
+ virtual bool removeCategory(const QString &categoryName) override;
+ virtual QStringList categories() override;
+
/**
* update the endorsement state for the mod. This only changes the
* buffered state, it does not sync with Nexus