summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/NullProfileStrategy.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/NullProfileStrategy.h')
-rw-r--r--logic/minecraft/NullProfileStrategy.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/logic/minecraft/NullProfileStrategy.h b/logic/minecraft/NullProfileStrategy.h
new file mode 100644
index 00000000..eaabd3c7
--- /dev/null
+++ b/logic/minecraft/NullProfileStrategy.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include "ProfileStrategy.h"
+
+class NullProfileStrategy: public ProfileStrategy
+{
+ virtual bool installJarMods(QStringList filepaths)
+ {
+ return false;
+ }
+ virtual void load() {};
+ virtual bool removePatch(ProfilePatchPtr jarMod)
+ {
+ return false;
+ }
+ virtual bool resetOrder()
+ {
+ return false;
+ }
+ virtual bool saveOrder(ProfileUtils::PatchOrder order)
+ {
+ return false;
+ }
+}; \ No newline at end of file