mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
36 lines
1 KiB
C++
36 lines
1 KiB
C++
#pragma once
|
|
|
|
#include <IrcMessage>
|
|
|
|
namespace chatterino {
|
|
namespace singletons {
|
|
class ChannelManager;
|
|
class ResourceManager;
|
|
} // namespace singletons
|
|
|
|
namespace providers {
|
|
namespace twitch {
|
|
|
|
class IrcMessageHandler
|
|
{
|
|
IrcMessageHandler(singletons::ResourceManager &resourceManager);
|
|
|
|
singletons::ResourceManager &resourceManager;
|
|
|
|
public:
|
|
static IrcMessageHandler &getInstance();
|
|
|
|
void handleRoomStateMessage(Communi::IrcMessage *message);
|
|
void handleClearChatMessage(Communi::IrcMessage *message);
|
|
void handleUserStateMessage(Communi::IrcMessage *message);
|
|
void handleWhisperMessage(Communi::IrcMessage *message);
|
|
void handleUserNoticeMessage(Communi::IrcMessage *message);
|
|
void handleModeMessage(Communi::IrcMessage *message);
|
|
void handleNoticeMessage(Communi::IrcNoticeMessage *message);
|
|
void handleWriteConnectionNoticeMessage(Communi::IrcNoticeMessage *message);
|
|
};
|
|
|
|
} // namespace twitch
|
|
} // namespace providers
|
|
} // namespace chatterino
|