qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
41 std::pair<DispatchedMessageId, DispatchedMessageId>
sendMessage(
bool isAction,
42 const QString& content)
override;
void clearOutgoingMessages()
Clears all currently outgoing messages.
void sendProcessedMessage(Message const &msg, OfflineMsgEngine::CompletionFn fn)
void onReceiptReceived(ReceiptNum receipt)
Handles received receipt from toxcore.
OfflineMsgEngine offlineMsgEngine
void onExtMessageReceived(const QString &message)
void sendExtendedProcessedMessage(Message const &msg, OfflineMsgEngine::CompletionFn fn)
std::pair< DispatchedMessageId, DispatchedMessageId > sendExtendedMessage(const QString &content, ExtensionSet extensions) override
FriendMessageDispatcher(Friend &f, MessageProcessor processor, ICoreFriendMessageSender &messageSender, ICoreExtPacketAllocator &coreExt)
MessageProcessor processor
OfflineMsgEngine::CompletionFn getCompletionFn(DispatchedMessageId messageId)
void onMessageReceived(bool isAction, const QString &content)
Handles received message from toxcore.
This class represents a Tox Public Key, which is a part of Tox ID.
NamedType< size_t, struct SentMessageIdTag, Orderable, Incrementable > DispatchedMessageId
ICoreFriendMessageSender & messageSender
std::pair< DispatchedMessageId, DispatchedMessageId > sendMessage(bool isAction, const QString &content) override
std::bitset< ExtensionType::max > ExtensionSet
std::function< void(bool)> CompletionFn
void sendCoreProcessedMessage(Message const &msg, OfflineMsgEngine::CompletionFn fn)
void onFriendOnlineOfflineChanged(const ToxPk &key, bool isOnline)
Handles status change for friend.
NamedType< uint32_t, struct ReceiptNumTag, Orderable > ReceiptNum
DispatchedMessageId nextMessageId
bool isOnline(Status status)
void onExtReceiptReceived(uint64_t receiptId)
ICoreExtPacketAllocator & coreExtPacketAllocator