Browse Source

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

Then impls can be called e.g. pEpTransportRCE
master
heck 3 weeks ago
parent
commit
faff4ee21e
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/transport.hh

+ 5
- 5
src/transport.hh View File

@ -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