Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
cc86f4c3
Commit
cc86f4c3
authored
Oct 16, 2017
by
Sylvain Berfini
🐮
Browse files
Fixed factory getDialPlans()
parent
4ee23129
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
coreapi/factory.c
coreapi/factory.c
+5
-5
include/linphone/factory.h
include/linphone/factory.h
+7
-7
wrappers/java/migration.sh
wrappers/java/migration.sh
+2
-0
No files found.
coreapi/factory.c
View file @
cc86f4c3
...
@@ -323,14 +323,14 @@ LinphoneVideoActivationPolicy *linphone_factory_create_video_activation_policy(L
...
@@ -323,14 +323,14 @@ LinphoneVideoActivationPolicy *linphone_factory_create_video_activation_policy(L
return
linphone_video_activation_policy_new
();
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
)
{
void
*
linphone_factory_get_user_data
(
const
LinphoneFactory
*
factory
)
{
return
factory
->
user_data
;
return
factory
->
user_data
;
}
}
void
linphone_factory_set_user_data
(
LinphoneFactory
*
factory
,
void
*
data
)
{
void
linphone_factory_set_user_data
(
LinphoneFactory
*
factory
,
void
*
data
)
{
factory
->
user_data
=
data
;
factory
->
user_data
=
data
;
}
}
\ No newline at end of file
const
bctbx_list_t
*
linphone_factory_get_dial_plans
(
LinphoneFactory
*
factory
)
{
return
linphone_dial_plan_get_all_list
();
}
include/linphone/factory.h
View file @
cc86f4c3
...
@@ -262,6 +262,13 @@ LINPHONE_PUBLIC LinphoneTransports *linphone_factory_create_transports(LinphoneF
...
@@ -262,6 +262,13 @@ LINPHONE_PUBLIC LinphoneTransports *linphone_factory_create_transports(LinphoneF
*/
*/
LINPHONE_PUBLIC
LinphoneVideoActivationPolicy
*
linphone_factory_create_video_activation_policy
(
LinphoneFactory
*
factory
);
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
* Gets the user data in the LinphoneFactory object
* @param[in] factory the LinphoneFactory
* @param[in] factory the LinphoneFactory
...
@@ -276,13 +283,6 @@ LINPHONE_PUBLIC void *linphone_factory_get_user_data(const LinphoneFactory *fact
...
@@ -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
);
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
);
/**
/**
* @}
* @}
*/
*/
...
...
wrappers/java/migration.sh
View file @
cc86f4c3
...
@@ -226,6 +226,8 @@ eval "$SED_START 's/content.getData() == null/content.getSize() == 0/'g $SED_END
...
@@ -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/lc.downloadOpenH264Enabled()/OpenH264DownloadHelper.isOpenH264DownloadEnabled()/g'
$SED_END
"
eval
"
$SED_START
's/enableDownloadOpenH264(/OpenH264DownloadHelper.enableDownloadOpenH264(/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/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
#Changes in library required
#Tunnel
#Tunnel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment