magpie/API/requests/assets.h

24 lines
378 B
C
Raw Normal View History

2024-01-20 21:17:21 +00:00
//SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
//SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include "request.h"
namespace Request {
class Assets : public Request {
2024-01-20 21:17:21 +00:00
Q_OBJECT
public:
Assets (const QUrl& baseUrl);
2024-01-20 21:17:21 +00:00
signals:
void success(const QVariantList& assets);
protected:
void onSuccess (const QVariantMap& data) override;
};
}