blob: d03f048f378a914a101a9e3e4a1838226ecd9d36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <pqxx/internal/callgate.hxx>
#include <pqxx/connection_base>
namespace pqxx
{
class notification_receiver;
namespace internal
{
namespace gate
{
class PQXX_PRIVATE connection_notification_receiver : callgate<connection_base>
{
friend class pqxx::notification_receiver;
connection_notification_receiver(reference x) : super(x) {}
void add_receiver(notification_receiver *receiver)
{ home().add_receiver(receiver); }
void remove_receiver(notification_receiver *receiver) noexcept
{ home().remove_receiver(receiver); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx
|