mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 14:18:07 +00:00
Fixed factory getDialPlans()
This commit is contained in:
parent
4ee2312949
commit
cc86f4c3f6
3 changed files with 14 additions and 12 deletions
|
|
@ -323,14 +323,14 @@ LinphoneVideoActivationPolicy *linphone_factory_create_video_activation_policy(L
|
|||
return linphone_video_activation_policy_new();
|
||||
}
|
||||
|
||||
const bctbx_list_t * linphone_factory_get_dial_plans(const LinphoneFactory *factory) {
|
||||
return linphone_dial_plan_get_all_list();
|
||||
}
|
||||
|
||||
void *linphone_factory_get_user_data(const LinphoneFactory *factory) {
|
||||
return factory->user_data;
|
||||
}
|
||||
|
||||
void linphone_factory_set_user_data(LinphoneFactory *factory, void *data) {
|
||||
factory->user_data = data;
|
||||
}
|
||||
|
||||
const bctbx_list_t * linphone_factory_get_dial_plans(LinphoneFactory *factory) {
|
||||
return linphone_dial_plan_get_all_list();
|
||||
}
|
||||
}
|
||||
|
|
@ -262,6 +262,13 @@ LINPHONE_PUBLIC LinphoneTransports *linphone_factory_create_transports(LinphoneF
|
|||
*/
|
||||
LINPHONE_PUBLIC LinphoneVideoActivationPolicy *linphone_factory_create_video_activation_policy(LinphoneFactory *factory);
|
||||
|
||||
/**
|
||||
* Returns a bctbx_list_t of all DialPlans
|
||||
* @param[in] factory the LinphoneFactory object
|
||||
* @return \bctbx_list{LinphoneDialPlan} a list of DialPlan
|
||||
*/
|
||||
LINPHONE_PUBLIC const bctbx_list_t * linphone_factory_get_dial_plans(const LinphoneFactory *factory);
|
||||
|
||||
/**
|
||||
* Gets the user data in the LinphoneFactory object
|
||||
* @param[in] factory the LinphoneFactory
|
||||
|
|
@ -276,13 +283,6 @@ LINPHONE_PUBLIC void *linphone_factory_get_user_data(const LinphoneFactory *fact
|
|||
*/
|
||||
LINPHONE_PUBLIC void linphone_factory_set_user_data(LinphoneFactory *factory, void *data);
|
||||
|
||||
/***
|
||||
* Returns a bctbx_list_t of all DialPlans
|
||||
* @param[in] factory the LinphoneFactory object
|
||||
* @return \bctbx_list{DialPlan} a list of DialPlan
|
||||
*/
|
||||
LINPHONE_PUBLIC const bctbx_list_t * linphone_factory_get_dial_plans(LinphoneFactory *factory);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -226,6 +226,8 @@ eval "$SED_START 's/content.getData() == null/content.getSize() == 0/'g $SED_END
|
|||
eval "$SED_START 's/lc.downloadOpenH264Enabled()/OpenH264DownloadHelper.isOpenH264DownloadEnabled()/g' $SED_END"
|
||||
eval "$SED_START 's/enableDownloadOpenH264(/OpenH264DownloadHelper.enableDownloadOpenH264(/g' $SED_END"
|
||||
eval "$SED_START 's/mLc.destroy()/mLc = null/g' $SED_END"
|
||||
eval "$SED_START 's/getAllDialPlan()/getDialPlans()/g' $SED_END"
|
||||
eval "$SED_START 's/getCountryName()/getCountry()/g' $SED_END"
|
||||
|
||||
#Changes in library required
|
||||
#Tunnel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue