From b6fe76753eb1e6174f02ed97e6792dbe2b431ccc Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Thu, 5 Mar 2020 13:44:30 +0100 Subject: [PATCH] remove useless functions --- Classes/LinphoneManager.h | 1 - Classes/LinphoneManager.m | 6 ------ 2 files changed, 7 deletions(-) diff --git a/Classes/LinphoneManager.h b/Classes/LinphoneManager.h index ec77c3153..899935f3a 100644 --- a/Classes/LinphoneManager.h +++ b/Classes/LinphoneManager.h @@ -123,7 +123,6 @@ typedef struct _LinphoneManagerSounds { - (void)configurePushTokenForProxyConfig: (LinphoneProxyConfig*)cfg; - (BOOL)popPushCallID:(NSString*) callId; - (void)acceptCallForCallId:(NSString*)callid; -- (void)cancelLocalNotifTimerForCallId:(NSString*)callid; - (void)startPushLongRunningTask:(NSString *)loc_key callId:(NSString *)callId; + (BOOL)langageDirectionIsRTL; diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 58a2b0aea..30a4651fa 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1535,12 +1535,6 @@ static int comp_call_id(const LinphoneCall *call, const char *callid) { return strcmp(linphone_call_log_get_call_id(linphone_call_get_call_log(call)), callid); } -- (void)cancelLocalNotifTimerForCallId:(NSString *)callid { - // first, make sure this callid is not already involved in a call - const bctbx_list_t *calls = linphone_core_get_calls(theLinphoneCore); - bctbx_list_t *call = bctbx_list_find_custom(calls, (bctbx_compare_func)comp_call_id, [callid UTF8String]); -} - - (void)acceptCallForCallId:(NSString *)callid { // first, make sure this callid is not already involved in a call const bctbx_list_t *calls = linphone_core_get_calls(theLinphoneCore);