summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-03-27 08:30:02 +0200
committerPetr Mrázek <peterix@gmail.com>2017-04-07 00:20:02 +0200
commit22735f275e9abee202c34e41af759fc9a3123089 (patch)
tree57a505c4261f943c387047b61ac903b64534b172 /api
parent5fabb4f2546fa6b79a4e2c29679f506e587a0070 (diff)
downloadMultiMC-22735f275e9abee202c34e41af759fc9a3123089.tar
MultiMC-22735f275e9abee202c34e41af759fc9a3123089.tar.gz
MultiMC-22735f275e9abee202c34e41af759fc9a3123089.tar.lz
MultiMC-22735f275e9abee202c34e41af759fc9a3123089.tar.xz
MultiMC-22735f275e9abee202c34e41af759fc9a3123089.zip
NOISSUE remove dead code
Diffstat (limited to 'api')
-rw-r--r--api/logic/minecraft/ProfilePatch.cpp80
1 files changed, 0 insertions, 80 deletions
diff --git a/api/logic/minecraft/ProfilePatch.cpp b/api/logic/minecraft/ProfilePatch.cpp
index 0ff5895d..e0014798 100644
--- a/api/logic/minecraft/ProfilePatch.cpp
+++ b/api/logic/minecraft/ProfilePatch.cpp
@@ -132,83 +132,3 @@ void ProfilePatch::setMovable (bool state)
{
m_isMovable = state;
}
-
-/*
-class MetaPatchProvider : public ProfilePatch
-{
-public:
- MetaPatchProvider(std::shared_ptr<Meta::Version> data)
- :m_version(data)
- {
- }
-public:
- QString getFilename() override
- {
- return QString();
- }
- QString getID() override
- {
- return m_version->uid();
- }
- QString getName() override
- {
- auto vfile = getFile();
- if(vfile)
- {
- return vfile->name;
- }
- return m_version->name();
- }
- QDateTime getReleaseDateTime() override
- {
- return m_version->time();
- }
- QString getVersion() override
- {
- return m_version->version();
- }
- std::shared_ptr<class VersionFile> getVersionFile() override
- {
- return m_version->data();
- }
- void setOrder(int) override
- {
- }
- int getOrder() override
- {
- return 0;
- }
- bool isVersionChangeable() override
- {
- return true;
- }
- bool isRevertible() override
- {
- return false;
- }
- bool isRemovable() override
- {
- return true;
- }
- bool isCustom() override
- {
- return false;
- }
- bool isCustomizable() override
- {
- return true;
- }
- bool isMoveable() override
- {
- return true;
- }
-
-private:
- VersionFilePtr getFile()
- {
-
- }
-private:
- std::shared_ptr<Meta::Version> m_version;
-};
-*/ \ No newline at end of file