summaryrefslogtreecommitdiffstats
path: root/logic/assets/AssetsUtils.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-10 07:12:52 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-10 07:12:52 +0100
commit3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba (patch)
tree9231f1304db15e966e1fe57c1b5b41ba26267b21 /logic/assets/AssetsUtils.h
parent8db2e5db81c91cca9291ca35ed74e632278563e6 (diff)
downloadMultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar
MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.gz
MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.lz
MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.xz
MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.zip
Finish assets update for 1.7.3
Diffstat (limited to 'logic/assets/AssetsUtils.h')
-rw-r--r--logic/assets/AssetsUtils.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/logic/assets/AssetsUtils.h b/logic/assets/AssetsUtils.h
index 88a3b0dc..5276d5a5 100644
--- a/logic/assets/AssetsUtils.h
+++ b/logic/assets/AssetsUtils.h
@@ -15,7 +15,22 @@
#pragma once
-#include "AssetsIndex.h"
+#include <QString>
+#include <QMap>
+
+class AssetObject;
+
+struct AssetObject
+{
+ QString hash;
+ qint64 size;
+};
+
+struct AssetsIndex
+{
+ QMap<QString, AssetObject> objects;
+ bool isVirtual = false;
+};
namespace AssetsUtils
{