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 {
|
|
|
|
|
2024-03-29 22:00:17 +00:00
|
|
|
class Currencies : public Request::Request {
|
2024-01-20 21:17:21 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2024-03-29 22:00:17 +00:00
|
|
|
Currencies (const QUrl& baseUrl);
|
2024-01-20 21:17:21 +00:00
|
|
|
|
|
|
|
signals:
|
|
|
|
void success(const QVariantList& assets);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void onSuccess (const QVariantMap& data) override;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
2024-03-29 22:00:17 +00:00
|
|
|
|