2022-02-22 08:02:34 +00:00
|
|
|
#pragma once
|
2022-02-14 14:38:41 +00:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
#include "interfaces/controller_interface.h"
|
|
|
|
#include "signals.h"
|
2022-02-21 18:03:38 +00:00
|
|
|
#include "wallet_accounts/service_interface.h"
|
2022-02-14 14:38:41 +00:00
|
|
|
|
2022-02-16 21:51:04 +00:00
|
|
|
namespace Modules::Main::Wallet
|
2022-02-14 14:38:41 +00:00
|
|
|
{
|
2022-02-16 21:51:04 +00:00
|
|
|
class Controller : public QObject, public IController
|
2022-02-14 14:38:41 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit Controller(std::shared_ptr<Wallets::ServiceInterface> walletService, QObject* parent = nullptr);
|
|
|
|
void init() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::shared_ptr<Wallets::ServiceInterface> m_walletService;
|
|
|
|
};
|
2022-02-16 21:51:04 +00:00
|
|
|
} // namespace Modules::Main::Wallet
|