From faff4ee21e4eb3fbb8948276aa34289bf77acd23 Mon Sep 17 00:00:00 2001 From: heck Date: Thu, 23 Sep 2021 20:26:42 +0200 Subject: [PATCH] is it ok if we prefix the type with 'pEp'? Then impls can be called e.g. pEpTransportRCE --- src/transport.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/transport.hh b/src/transport.hh index 21f3886..f927670 100644 --- a/src/transport.hh +++ b/src/transport.hh @@ -7,7 +7,7 @@ #include namespace pEp { - class Transport { + class pEpTransport { public: // Types // ----- @@ -33,10 +33,10 @@ namespace pEp { // Ctors // ----- - explicit Transport(PEP_transport_id id) : id(id), current_status(PEP_tsc_shut_down) {} - Transport(const Transport&) = delete; - Transport& operator=(const Transport&) = delete; - virtual ~Transport() = default; + explicit pEpTransport(PEP_transport_id id) : id(id), current_status(PEP_tsc_shut_down) {} + pEpTransport(const pEpTransport&) = delete; + pEpTransport& operator=(const pEpTransport&) = delete; + virtual ~pEpTransport() = default; // required for compat with the c interface transport.h because of missing polymorphism in c PEP_transport_id get_id()