mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
30 lines
585 B
C++
30 lines
585 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
#include "controllers/accounts/account.hpp"
|
||
|
#include "util/sharedptrelementless.hpp"
|
||
|
#include "util/signalvector2.hpp"
|
||
|
|
||
|
namespace chatterino {
|
||
|
namespace controllers {
|
||
|
namespace accounts {
|
||
|
|
||
|
class AccountModel;
|
||
|
|
||
|
class AccountController
|
||
|
{
|
||
|
public:
|
||
|
AccountController();
|
||
|
|
||
|
AccountModel *createModel(QObject *parent);
|
||
|
|
||
|
private:
|
||
|
util::SortedSignalVector<std::shared_ptr<Account>, util::SharedPtrElementLess<Account>>
|
||
|
accounts;
|
||
|
};
|
||
|
|
||
|
} // namespace accounts
|
||
|
} // namespace controllers
|
||
|
} // namespace chatterino
|