mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-14 19:25:53 +00:00
19 lines
439 B
C++
19 lines
439 B
C++
/*
|
|
SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@kde.org>
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
|
*/
|
|
|
|
#include "kpackageinterface.h"
|
|
|
|
KPackageInterface::KPackageInterface(const KPackage::Package &package)
|
|
: m_package(package)
|
|
{
|
|
Q_ASSERT(m_package.isValid());
|
|
}
|
|
|
|
QUrl KPackageInterface::fileUrl(const QByteArray &key) const
|
|
{
|
|
return m_package.fileUrl(key);
|
|
}
|