mirror-chatterino2/twitch/twitchaccount.h
2017-04-18 02:29:32 +02:00

28 lines
468 B
C++

#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;
};
}
}
#endif // ACCOUNT_H