status-desktop/src-cpp/app/modules/main/wallet/controller.h

27 lines
613 B
C
Raw Normal View History

#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