diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-01-23 21:31:41 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-01-23 21:31:41 +0100 |
commit | 156bc8f27656c115bf1b023cd4ebc5f629df3887 (patch) | |
tree | 79e7ff327148f0841d7184a3882d8c2e6938ef4a /logic/LiteLoaderInstaller.h | |
parent | c39d26f4453166603749826eee1a732c815047d0 (diff) | |
download | MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar.gz MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar.lz MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.tar.xz MultiMC-156bc8f27656c115bf1b023cd4ebc5f629df3887.zip |
Forge works now too, and so does forge+liteloader
Diffstat (limited to 'logic/LiteLoaderInstaller.h')
-rw-r--r-- | logic/LiteLoaderInstaller.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/logic/LiteLoaderInstaller.h b/logic/LiteLoaderInstaller.h index 48ef4baf..c128ee22 100644 --- a/logic/LiteLoaderInstaller.h +++ b/logic/LiteLoaderInstaller.h @@ -14,30 +14,22 @@ */ #pragma once + +#include "BaseInstaller.h" + #include <QString> #include <QMap> -#include <memory> -class DerpVersion; -class DerpInstance; -class QDir; - -// TODO base class -class LiteLoaderInstaller +class LiteLoaderInstaller : public BaseInstaller { public: LiteLoaderInstaller(); - bool canApply(DerpInstance *instance) const; - bool isApplied(DerpInstance *on); - - bool add(DerpInstance *to); - bool remove(DerpInstance *from); + bool canApply(DerpInstance *instance) const override; + bool add(DerpInstance *to) override; private: - virtual QString id() const { return "com.mumfrey.liteloader"; } - QString filename(const QString &root) const; - QDir patchesDir(const QString &root) const; + virtual QString id() const override { return "com.mumfrey.liteloader"; } static QMap<QString, QString> m_launcherWrapperVersionMapping; }; |