rename twitchaccount file to twitchuser to match class name

This commit is contained in:
Rasmus Karlsson
2017-05-30 15:22:44 +02:00
parent 980e71ab40
commit 548fbe5866
10 changed files with 64 additions and 7 deletions
+29
View File
@@ -0,0 +1,29 @@
#ifndef ACCOUNT_H
#define ACCOUNT_H
#include "ircaccount.h"
#include <QString>
namespace chatterino {
namespace twitch {
class TwitchUser : public IrcUser2
{
public:
TwitchUser(const QString &username, const QString &oauthToken, const QString &oauthClient);
const QString &getOAuthToken() const;
const QString &getOAuthClient() const;
bool isAnon() const;
private:
QString _oauthClient;
QString _oauthToken;
};
} // namespace twitch
} // namespace chatterino
#endif // ACCOUNT_H