2017-04-12 17:46:44 +02:00
|
|
|
#ifndef ACCOUNT_H
|
|
|
|
#define ACCOUNT_H
|
|
|
|
|
2017-04-18 02:29:32 +02:00
|
|
|
#include "ircaccount.h"
|
2017-04-12 17:46:44 +02:00
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
namespace chatterino {
|
|
|
|
namespace twitch {
|
2017-04-12 17:46:44 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
2017-05-27 17:45:40 +02:00
|
|
|
|
|
|
|
} // namespace twitch
|
|
|
|
} // namespace chatterino
|
2017-04-12 17:46:44 +02:00
|
|
|
|
|
|
|
#endif // ACCOUNT_H
|