magpie/API/requests/currencies.h

25 lines
396 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 Currencies : public Request::Request {
2024-01-20 21:17:21 +00:00
Q_OBJECT
public:
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;
};
}