add precondition to signal_ functions

makefile-conf
Volker Birk 2 years ago
parent a54d0d9cc1
commit 91163e0a71

@ -43,6 +43,10 @@ namespace pEp {
virtual void sendto(pEp::Message& msg);
virtual Message recvnext();
// the signal_ function register signal handlers
// they must be called while a transport is running, otherwise they
// throw std::logic_error in case the transport is shut down
virtual void
signal_statuschange(std::function(void(PEP_transport_status_code)));

Loading…
Cancel
Save