juicy compiler error
This commit is contained in:
+19
-13
@@ -4,12 +4,12 @@
|
||||
#define TWITCH_MAX_MESSAGELENGTH 500
|
||||
|
||||
#include "IrcMessage"
|
||||
#include "QMap"
|
||||
#include "QMutex"
|
||||
#include "QString"
|
||||
#include "QMap"
|
||||
#include "account.h"
|
||||
#include "qnetworkaccessmanager.h"
|
||||
#include "message.h"
|
||||
#include "qnetworkaccessmanager.h"
|
||||
|
||||
class IrcManager
|
||||
{
|
||||
@@ -20,29 +20,35 @@ public:
|
||||
static const QString defaultClientId;
|
||||
|
||||
bool isTwitchBlockedUser(QString const &username);
|
||||
bool tryAddIgnoredUser(QString const &username, QString& errorMessage);
|
||||
bool tryAddIgnoredUser(QString const &username, QString &errorMessage);
|
||||
void addIgnoredUser(QString const &username);
|
||||
bool tryRemoveIgnoredUser(QString const &username, QString& errorMessage);
|
||||
bool tryRemoveIgnoredUser(QString const &username, QString &errorMessage);
|
||||
void removeIgnoredUser(QString const &username);
|
||||
|
||||
static Account* account;
|
||||
static Account *account;
|
||||
|
||||
static QNetworkAccessManager &
|
||||
accessManager()
|
||||
{
|
||||
return *m_accessManager;
|
||||
}
|
||||
|
||||
private:
|
||||
IrcManager();
|
||||
|
||||
static QMap<QString, bool>* twitchBlockedUsers;
|
||||
static QMutex* twitchBlockedUsersMutex;
|
||||
static QMap<QString, bool> *twitchBlockedUsers;
|
||||
static QMutex *twitchBlockedUsersMutex;
|
||||
|
||||
static QNetworkAccessManager* accessManager;
|
||||
static QNetworkAccessManager *m_accessManager;
|
||||
|
||||
static void beginConnecting();
|
||||
|
||||
static IrcConnection* connection;
|
||||
static QMutex* connectionMutex;
|
||||
static IrcConnection *connection;
|
||||
static QMutex *connectionMutex;
|
||||
static long connectionIteration;
|
||||
|
||||
static void messageReceived(IrcMessage* message);
|
||||
static void privateMessageReceived(IrcPrivateMessage* message);
|
||||
static void messageReceived(IrcMessage *message);
|
||||
static void privateMessageReceived(IrcPrivateMessage *message);
|
||||
};
|
||||
|
||||
#endif // IRCMANAGER_H
|
||||
#endif // IRCMANAGER_H
|
||||
|
||||
Reference in New Issue
Block a user