mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
30 lines
515 B
C++
30 lines
515 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;
|
|
};
|
|
|
|
} // namespace twitch
|
|
} // namespace chatterino
|
|
|
|
#endif // ACCOUNT_H
|