summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/ModList.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/ModList.h')
-rw-r--r--api/logic/minecraft/ModList.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/logic/minecraft/ModList.h b/api/logic/minecraft/ModList.h
index 14b102e1..e7267389 100644
--- a/api/logic/minecraft/ModList.h
+++ b/api/logic/minecraft/ModList.h
@@ -86,6 +86,9 @@ public:
/// Deletes all the selected mods
virtual bool deleteMods(const QModelIndexList &indexes);
+ /// Enable or disable listed mods
+ virtual bool enableMods(const QModelIndexList &indexes, bool enable = true);
+
void startWatching();
void stopWatching();