From 6d438b2ef3ca320d89eb5830024d02610ef8f6d6 Mon Sep 17 00:00:00 2001 From: Sky Date: Sun, 8 Dec 2013 02:58:44 +0000 Subject: Work on new assets system. Working legacy assets importer, disabled assets downloading for now --- logic/assets/AssetsIndex.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 logic/assets/AssetsIndex.cpp (limited to 'logic/assets/AssetsIndex.cpp') 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) +{ +} -- cgit v1.2.3