pollymc/launcher/ui/pages/modplatform/flame/FlameModPage.h

25 lines
815 B
C
Raw Normal View History

2022-01-16 15:50:21 +05:30
#pragma once
#include "ui/pages/modplatform/ModPage.h"
2022-01-16 15:50:21 +05:30
class FlameModPage : public ModPage {
2022-01-16 15:50:21 +05:30
Q_OBJECT
public:
explicit FlameModPage(ModDownloadDialog* dialog, BaseInstance* instance);
virtual ~FlameModPage() = default;
2022-01-16 15:50:21 +05:30
inline QString displayName() const override { return tr("CurseForge"); }
inline QIcon icon() const override { return APPLICATION->getThemedIcon("flame"); }
inline QString id() const override { return "curseforge"; }
inline QString helpPage() const override { return "Flame-platform"; }
2022-01-16 15:50:21 +05:30
inline QString debugName() const override { return tr("Flame"); }
inline QString metaEntryBase() const override { return "FlameMods"; };
2022-01-16 15:50:21 +05:30
bool shouldDisplay() const override;
2022-01-16 15:50:21 +05:30
private:
void onModVersionSucceed(ModPage*, QByteArray*, QString) override;
2022-01-16 15:50:21 +05:30
};