diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-07-23 19:20:21 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-09-09 18:29:52 +0200 |
commit | 4c01983f470e25dfd4c997201370057bba64832e (patch) | |
tree | 351483b733f39c11c9f57eef7b1c2e6be24428b6 /api/logic/minecraft/ftb/FTBInstanceProvider.h | |
parent | 3fb4ce713fb7fdef2753009967fa58103fa69974 (diff) | |
download | MultiMC-4c01983f470e25dfd4c997201370057bba64832e.tar MultiMC-4c01983f470e25dfd4c997201370057bba64832e.tar.gz MultiMC-4c01983f470e25dfd4c997201370057bba64832e.tar.lz MultiMC-4c01983f470e25dfd4c997201370057bba64832e.tar.xz MultiMC-4c01983f470e25dfd4c997201370057bba64832e.zip |
NOISSUE remove FTB integration
Diffstat (limited to 'api/logic/minecraft/ftb/FTBInstanceProvider.h')
-rw-r--r-- | api/logic/minecraft/ftb/FTBInstanceProvider.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/api/logic/minecraft/ftb/FTBInstanceProvider.h b/api/logic/minecraft/ftb/FTBInstanceProvider.h deleted file mode 100644 index fb3ecb6c..00000000 --- a/api/logic/minecraft/ftb/FTBInstanceProvider.h +++ /dev/null @@ -1,45 +0,0 @@ -#pragma once - -#include "BaseInstanceProvider.h" -#include <QMap> - -class QFileSystemWatcher; - -struct MULTIMC_LOGIC_EXPORT FTBRecord -{ - QString dirName; - QString name; - QString logo; - QString iconKey; - QString mcVersion; - QString description; - QString instanceDir; - QString templateDir; - bool operator==(const FTBRecord other) const - { - return instanceDir == other.instanceDir; - } -}; - -class MULTIMC_LOGIC_EXPORT FTBInstanceProvider : public BaseInstanceProvider -{ - Q_OBJECT - -public: - FTBInstanceProvider (SettingsObjectPtr settings); - -public: - QList<InstanceId> discoverInstances() override; - InstancePtr loadInstance(const InstanceId& id) override; - void loadGroupList() override {}; - void saveGroupList() override {}; - -private: /* methods */ - void discoverFTBEntries(); - InstancePtr createInstance(const FTBRecord & record) const; - InstancePtr loadInstance(const FTBRecord & record) const; - - -private: - QMap<InstanceId, FTBRecord> m_records; -}; |