mirror-chatterino2/usermanager.h
2017-04-12 17:46:44 +02:00

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