mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 04:22:39 +00:00
Page dialog for legacy instances.
This commit is contained in:
@@ -16,11 +16,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "BaseInstance.h"
|
||||
#include "gui/pages/BasePageProvider.h"
|
||||
|
||||
class ModList;
|
||||
class Task;
|
||||
|
||||
class LegacyInstance : public BaseInstance
|
||||
class LegacyInstance : public BaseInstance, public BasePageProvider
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@@ -34,6 +35,10 @@ public:
|
||||
//! Path to the instance's modlist file.
|
||||
QString modListFile() const;
|
||||
|
||||
////// Edit Instance Dialog stuff //////
|
||||
virtual QList<BasePage *> getPages();
|
||||
virtual QString dialogTitle();
|
||||
|
||||
////// Mod Lists //////
|
||||
std::shared_ptr<ModList> jarModList();
|
||||
std::shared_ptr<ModList> coreModList();
|
||||
|
||||
Reference in New Issue
Block a user