From a259307218358778a3e04bc6652a1b87f0fa9245 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Wed, 6 Nov 2019 17:16:41 +0100 Subject: [PATCH] Deprecate GxsTransSubServices in favor of RsServiceType --- libretroshare/src/retroshare/rsgxstrans.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/retroshare/rsgxstrans.h b/libretroshare/src/retroshare/rsgxstrans.h index a491f7bfe..e1b8d4d8f 100644 --- a/libretroshare/src/retroshare/rsgxstrans.h +++ b/libretroshare/src/retroshare/rsgxstrans.h @@ -23,9 +23,12 @@ #include "retroshare/rstokenservice.h" #include "retroshare/rsgxsifacehelper.h" #include "retroshare/rsgxscommon.h" +#include "rsitems/rsserviceids.h" -/// Subservices identifiers (like port for TCP) -enum class GxsTransSubServices : uint16_t +/** Subservices identifiers (like port for TCP) + * @deprecated pay special attention fixing this as it may break + * retro-compatibility */ +enum class RS_DEPRECATED_FOR(RsServiceType) GxsTransSubServices : uint16_t { UNKNOWN = 0x00, TEST_SERVICE = 0x01,