summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-08 18:02:20 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:31 +0200
commit84ae67fff5bfa9de011daf4144802569687f1e6b (patch)
tree47d7ec4b8484b6aa505e8200ba35b3ead60980ab /logic/LegacyInstance.h
parent694067c603ec14eba16e452e77bc7ce442fa36dd (diff)
downloadMultiMC-84ae67fff5bfa9de011daf4144802569687f1e6b.tar
MultiMC-84ae67fff5bfa9de011daf4144802569687f1e6b.tar.gz
MultiMC-84ae67fff5bfa9de011daf4144802569687f1e6b.tar.lz
MultiMC-84ae67fff5bfa9de011daf4144802569687f1e6b.tar.xz
MultiMC-84ae67fff5bfa9de011daf4144802569687f1e6b.zip
Page dialog for legacy instances.
Diffstat (limited to 'logic/LegacyInstance.h')
-rw-r--r--logic/LegacyInstance.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/logic/LegacyInstance.h b/logic/LegacyInstance.h
index 3d426601..82dd4fee 100644
--- a/logic/LegacyInstance.h
+++ b/logic/LegacyInstance.h
@@ -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();