refactoring

This commit is contained in:
fourtf
2017-04-12 17:46:44 +02:00
parent 8ef492d7ae
commit 96db82e867
114 changed files with 5554 additions and 3703 deletions
+27
View File
@@ -0,0 +1,27 @@
#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