status-desktop/src-cpp/app/modules/startup/login/controller_interface.h

28 lines
471 B
C
Raw Normal View History

2022-01-06 19:29:19 +00:00
#pragma once
#include "accounts/account.h"
namespace Modules
{
namespace Startup
{
namespace Login
{
// Abstract class for any input/interaction with this module.
class ControllerInterface
{
public:
2022-01-20 15:50:10 +00:00
virtual void init() = 0;
virtual QVector<Accounts::AccountDto> getOpenedAccounts() = 0;
virtual void setSelectedAccountKeyUid(QString keyUid) = 0;
virtual void login(QString password) = 0;
2022-01-06 19:29:19 +00:00
};
} // namespace Login
} // namespace Startup
} // namespace Modules