juicy compiler error

This commit is contained in:
fourtf
2017-01-11 18:52:09 +01:00
parent 580a411e9d
commit 854566b57f
63 changed files with 1481 additions and 1067 deletions
+17 -7
View File
@@ -8,32 +8,42 @@ class Account
public:
Account(QString username, QString oauthToken, QString oauthClient);
static const Account* anon() {
static const Account *
anon()
{
return m_anon;
}
const QString& username() {
const QString &
username()
{
return m_username;
}
const QString& oauthToken() {
const QString &
oauthToken()
{
return m_oauthToken;
}
const QString& oauthClient() {
const QString &
oauthClient()
{
return m_oauthClient;
}
bool isAnon() {
bool
isAnon()
{
return m_username.startsWith("justinfan");
}
private:
const static Account* m_anon;
const static Account *m_anon;
QString m_username;
QString m_oauthClient;
QString m_oauthToken;
};
#endif // ACCOUNT_H
#endif // ACCOUNT_H