mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
28 lines
386 B
C++
28 lines
386 B
C++
#ifndef ACCOUNTMANAGER_H
|
|
#define ACCOUNTMANAGER_H
|
|
|
|
#include "twitch/twitchuser.h"
|
|
|
|
namespace chatterino {
|
|
|
|
class AccountManager
|
|
{
|
|
public:
|
|
static AccountManager &getInstance()
|
|
{
|
|
return instance;
|
|
}
|
|
|
|
twitch::TwitchUser &getAnon();
|
|
|
|
private:
|
|
static AccountManager instance;
|
|
|
|
AccountManager();
|
|
|
|
twitch::TwitchUser _anon;
|
|
};
|
|
}
|
|
|
|
#endif // ACCOUNTMANAGER_H
|