#pragma once #include "common/Singleton.hpp" #include #include "common/SignalVector.hpp" #include "controllers/accounts/Account.hpp" #include "providers/twitch/TwitchAccountManager.hpp" #include "util/SharedPtrElementLess.hpp" namespace chatterino { class Settings; class Paths; class AccountModel; class AccountController final : public Singleton { public: AccountController(); AccountModel *createModel(QObject *parent); virtual void initialize(Settings &settings, Paths &paths) override; TwitchAccountManager twitch; private: SortedSignalVector, SharedPtrElementLess> accounts_; }; } // namespace chatterino