summaryrefslogtreecommitdiffstats
path: root/logic/assets/AssetsIndex.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-12-08 02:58:44 +0000
committerSky <git@bunnies.cc>2013-12-08 02:58:44 +0000
commit6d438b2ef3ca320d89eb5830024d02610ef8f6d6 (patch)
tree904ea129e0f5558dadcf1ef1928128d72e283398 /logic/assets/AssetsIndex.cpp
parent613699b3626aea750093ab7eaaeccaa28c0e87c6 (diff)
downloadMultiMC-6d438b2ef3ca320d89eb5830024d02610ef8f6d6.tar
MultiMC-6d438b2ef3ca320d89eb5830024d02610ef8f6d6.tar.gz
MultiMC-6d438b2ef3ca320d89eb5830024d02610ef8f6d6.tar.lz
MultiMC-6d438b2ef3ca320d89eb5830024d02610ef8f6d6.tar.xz
MultiMC-6d438b2ef3ca320d89eb5830024d02610ef8f6d6.zip
Work on new assets system. Working legacy assets importer, disabled assets downloading for now
Diffstat (limited to 'logic/assets/AssetsIndex.cpp')
-rw-r--r--logic/assets/AssetsIndex.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/logic/assets/AssetsIndex.cpp b/logic/assets/AssetsIndex.cpp
new file mode 100644
index 00000000..5b401a77
--- /dev/null
+++ b/logic/assets/AssetsIndex.cpp
@@ -0,0 +1,20 @@
+/* Copyright 2013 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "AssetsIndex.h"
+
+AssetObject::AssetObject(QString hash, qint64 size) : hash(hash), size(size)
+{
+}