From 23d3006fd8d28bd05f495c66dbc232efabb8012b Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 1 Dec 2017 16:09:58 -0800 Subject: [PATCH] remove unused code // FREEBIE --- SignalServiceKit/src/TSConstants.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/SignalServiceKit/src/TSConstants.h b/SignalServiceKit/src/TSConstants.h index 717e2e0fc0..6b9e06dc2c 100644 --- a/SignalServiceKit/src/TSConstants.h +++ b/SignalServiceKit/src/TSConstants.h @@ -2,8 +2,6 @@ // Copyright (c) 2017 Open Whisper Systems. All rights reserved. // -@class TSNumberVerifier; - #ifndef TextSecureKit_Constants_h #define TextSecureKit_Constants_h @@ -15,8 +13,6 @@ typedef NS_ENUM(NSInteger, TSWhisperMessageType) { TSUnencryptedWhisperMessageType = 4, }; -typedef enum { kSMSVerification, kPhoneNumberVerification } VerificationTransportType; - #pragma mark Server Address #define textSecureHTTPTimeOut 10 @@ -41,7 +37,6 @@ typedef enum { kSMSVerification, kPhoneNumberVerification } VerificationTranspor // //#endif -#define textSecureGeneralAPI @"v1" #define textSecureAccountsAPI @"v1/accounts" #define textSecureAttributesAPI @"/attributes/" @@ -59,14 +54,4 @@ typedef enum { kSMSVerification, kPhoneNumberVerification } VerificationTranspor #define SignalApplicationGroup @"group.org.whispersystems.signal.group" -#pragma mark Push RegistrationSpecific Constants -typedef NS_ENUM(NSInteger, TSPushRegistrationError) { - TSPushRegistrationErrorNetwork, - TSPushRegistrationErrorAuthentication, - TSPushRegistrationErrorRequest -}; - -typedef void (^failedPushRegistrationRequestBlock)(TSPushRegistrationError error); - - #endif