aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/ModPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ui/pages/modplatform/ModPage.h')
-rw-r--r--launcher/ui/pages/modplatform/ModPage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/launcher/ui/pages/modplatform/ModPage.h b/launcher/ui/pages/modplatform/ModPage.h
index b1681b8c..e0d7c95c 100644
--- a/launcher/ui/pages/modplatform/ModPage.h
+++ b/launcher/ui/pages/modplatform/ModPage.h
@@ -23,20 +23,21 @@ class ModPage : public QWidget, public BasePage {
explicit ModPage(ModDownloadDialog* dialog, BaseInstance* instance, ModAPI* api);
virtual ~ModPage();
- /* The name visible to the user */
+ /* Affects what the user sees */
virtual QString displayName() const override = 0;
virtual QIcon icon() const override = 0;
virtual QString id() const override = 0;
virtual QString helpPage() const override = 0;
+ /* Used internally */
virtual QString metaEntryBase() const = 0;
- /* This only appears in the debug console */
virtual QString debugName() const = 0;
+
virtual bool shouldDisplay() const override = 0;
const ModAPI* apiProvider() const { return api.get(); };
- virtual void onGetVersionsSucceeded(ModPage*, QByteArray*, QString) = 0;
+ virtual void onRequestVersionsSucceeded(ModPage*, QByteArray*, QString) = 0;
void openedImpl() override;
bool eventFilter(QObject* watched, QEvent* event) override;