You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
466 B
22 lines
466 B
/* |
|
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 |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <KPackage/Package> |
|
#include <QObject> |
|
|
|
class KPackageInterface : public QObject |
|
{ |
|
Q_OBJECT |
|
public: |
|
KPackageInterface(const KPackage::Package &package); |
|
|
|
Q_INVOKABLE QUrl fileUrl(const QByteArray &key) const; |
|
|
|
private: |
|
const KPackage::Package m_package; |
|
};
|
|
|