Commit cc86f4c3 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed factory getDialPlans()

parent 4ee23129
......@@ -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();
}
}
\ No newline at end of file
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment