mirror of
https://invent.kde.org/network/kdeconnect-ios.git
synced 2025-12-12 20:36:04 +01:00
Remove unused packet type
This commit is contained in:
@@ -11,7 +11,6 @@ extension NetworkPacket {
|
||||
@objc
|
||||
static let allPacketTypes: [`Type`] = [
|
||||
.identity,
|
||||
.encrypted,
|
||||
.pair,
|
||||
.ping,
|
||||
.MPRIS,
|
||||
@@ -40,7 +39,6 @@ extension NetworkPacket {
|
||||
case -1: return "PACKET_TAG_PAYLOAD"
|
||||
case 0: return "PACKET_TAG_NORMAL"
|
||||
case 1: return "PACKET_TAG_IDENTITY"
|
||||
case 2: return "PACKET_TAG_ENCRYPTED"
|
||||
case 3: return "PACKET_TAG_PAIR"
|
||||
case 4: return "PACKET_TAG_UNPAIR"
|
||||
case 5: return "PACKET_TAG_PING"
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#define PACKET_TAG_PAYLOAD -1
|
||||
#define PACKET_TAG_NORMAL 0
|
||||
#define PACKET_TAG_IDENTITY 1
|
||||
#define PACKET_TAG_ENCRYPTED 2
|
||||
#define PACKET_TAG_PAIR 3
|
||||
#define PACKET_TAG_UNPAIR 4
|
||||
#define PACKET_TAG_PING 5
|
||||
@@ -62,7 +61,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
typedef NSString *NetworkPacketType NS_TYPED_ENUM NS_SWIFT_NAME(NetworkPacket.Type);
|
||||
|
||||
FOUNDATION_EXPORT NetworkPacketType const NetworkPacketTypeIdentity;
|
||||
FOUNDATION_EXPORT NetworkPacketType const NetworkPacketTypeEncrypted;
|
||||
FOUNDATION_EXPORT NetworkPacketType const NetworkPacketTypePair;
|
||||
FOUNDATION_EXPORT NetworkPacketType const NetworkPacketTypePing;
|
||||
|
||||
|
||||
@@ -192,7 +192,6 @@
|
||||
#pragma mark - Packet Types
|
||||
|
||||
NetworkPacketType const NetworkPacketTypeIdentity = @"kdeconnect.identity";
|
||||
NetworkPacketType const NetworkPacketTypeEncrypted = @"kdeconnect.encrypted";
|
||||
NetworkPacketType const NetworkPacketTypePair = @"kdeconnect.pair";
|
||||
NetworkPacketType const NetworkPacketTypePing = @"kdeconnect.ping";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user