aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/ModAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/modplatform/ModAPI.h')
-rw-r--r--launcher/modplatform/ModAPI.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/launcher/modplatform/ModAPI.h b/launcher/modplatform/ModAPI.h
index 8503d7fc..5c7c6349 100644
--- a/launcher/modplatform/ModAPI.h
+++ b/launcher/modplatform/ModAPI.h
@@ -1,6 +1,5 @@
#pragma once
-#include <QJsonDocument>
#include <QString>
namespace ModPlatform {
@@ -25,6 +24,6 @@ class ModAPI {
QString version;
};
- inline virtual void searchMods(CallerType* caller, SearchArgs&& args) const {};
- inline virtual void getVersions(CallerType* caller, const QString& addonId, const QString& debugName = "") const {};
+ virtual void searchMods(CallerType* caller, SearchArgs&& args) const = 0;
+ virtual void getVersions(CallerType* caller, const QString& addonId) const = 0;
};