blob: aff07918c7e181a5c3e1ff8c629970edb51e61a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "Swiften/Chat/ChatStateNotifier.h"
#include "Swiften/Elements/ChatState.h"
#include "Swiften/JID/JID.h"
namespace Swift {
class StanzaChannel;
class ChatStateMessageSender {
public:
ChatStateMessageSender(ChatStateNotifier* notifier, StanzaChannel* stanzaChannel, const JID& contact);
void setContact(const JID& contact) {contact_ = contact;};
private:
void handleChatStateChanged(ChatState::ChatStateType state);
ChatStateNotifier* notifier_;
StanzaChannel* stanzaChannel_;
JID contact_;
};
}
|