mirror-chatterino2/twitch/twitchuser.h

29 lines
466 B
C
Raw Normal View History

2017-04-12 17:46:44 +02:00
#ifndef ACCOUNT_H
#define ACCOUNT_H
#include "ircuser2.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