2017-12-31 00:50:07 +01:00
|
|
|
#pragma once
|
|
|
|
|
2018-02-05 15:11:50 +01:00
|
|
|
#include "providers/twitch/twitchaccountmanager.hpp"
|
2017-12-31 00:50:07 +01:00
|
|
|
|
|
|
|
namespace chatterino {
|
2017-12-31 22:58:35 +01:00
|
|
|
namespace singletons {
|
2017-12-31 00:50:07 +01:00
|
|
|
|
|
|
|
class AccountManager
|
|
|
|
{
|
2018-04-27 22:11:19 +02:00
|
|
|
AccountManager() = default;
|
|
|
|
friend class Application;
|
2017-12-31 00:50:07 +01:00
|
|
|
|
|
|
|
public:
|
2018-04-27 22:11:19 +02:00
|
|
|
~AccountManager() = delete;
|
2017-12-31 00:50:07 +01:00
|
|
|
|
|
|
|
void load();
|
|
|
|
|
2018-02-05 15:11:50 +01:00
|
|
|
providers::twitch::TwitchAccountManager Twitch;
|
2017-12-31 00:50:07 +01:00
|
|
|
};
|
|
|
|
|
2018-01-18 18:20:40 +01:00
|
|
|
} // namespace singletons
|
2017-12-31 00:50:07 +01:00
|
|
|
} // namespace chatterino
|