1#ifndef CANCELLATION_HANDLER_H
2#define CANCELLATION_HANDLER_H
15 std::function<void()> mNotifier;
A wrapper class around a conversation cancellation handler callback.
Definition: cancellation_handler.h:12
void SetIsCanceled(bool isCanceled)
Set conversation cancellation status.
Definition: cancellation_handler.cpp:16
void SetNotifier(std::function< void()> notifier)
Set a callback to be invoked when DM canceled the conversation.
Definition: cancellation_handler.cpp:29
bool IsCanceled() const
Get conversation cancellation status.
Definition: cancellation_handler.cpp:11