27 lines
613 B
C++
27 lines
613 B
C++
#ifndef WALLET_CONTROLLER_H
|
|
#define WALLET_CONTROLLER_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "wallet_accounts/service_interface.h"
|
|
#include "interfaces/controller_interface.h"
|
|
#include "signals.h"
|
|
|
|
namespace Modules::Main::Wallet
|
|
{
|
|
class Controller : public QObject, public IController
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Controller(std::shared_ptr<Wallets::ServiceInterface> walletService, QObject* parent = nullptr);
|
|
~Controller() = default;
|
|
void init() override;
|
|
|
|
private:
|
|
std::shared_ptr<Wallets::ServiceInterface> m_walletService;
|
|
};
|
|
} // namespace Modules::Main::Wallet
|
|
|
|
#endif // WALLET_CONTROLLER_H
|