is it ok if we prefix the type with 'pEp'?

Then impls can be called e.g. pEpTransportRCE
pull/2/head
heck 2 years ago
parent 38f0a2f271
commit faff4ee21e

@ -7,7 +7,7 @@
#include <pEp/transport.h>
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()

Loading…
Cancel
Save