Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
bf1d1d4e
Commit
bf1d1d4e
authored
Oct 16, 2017
by
Sylvain Berfini
🎩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for wrapper and Android compil
parent
30b04f5e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
3 deletions
+14
-3
coreapi/factory.c
coreapi/factory.c
+4
-0
include/linphone/api/c-dial-plan.h
include/linphone/api/c-dial-plan.h
+1
-1
include/linphone/factory.h
include/linphone/factory.h
+7
-0
src/dial-plan/dial-plan.cpp
src/dial-plan/dial-plan.cpp
+1
-1
wrappers/java/migration.sh
wrappers/java/migration.sh
+1
-1
No files found.
coreapi/factory.c
View file @
bf1d1d4e
...
...
@@ -330,3 +330,7 @@ void *linphone_factory_get_user_data(const LinphoneFactory *factory) {
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
();
}
include/linphone/api/c-dial-plan.h
View file @
bf1d1d4e
...
...
@@ -85,7 +85,7 @@ LINPHONE_PUBLIC int linphone_dial_plan_lookup_ccc_from_e164(const char* e164);
LINPHONE_PUBLIC
const
LinphoneDialPlan
*
linphone_dial_plan_get_all
(
void
);
/**
* @return
{
\bctbx_list
const
LinphoneDialPlan
*
} of all known dial plans
* @return \bctbx_list
{
LinphoneDialPlan} of all known dial plans
**/
LINPHONE_PUBLIC
const
bctbx_list_t
*
linphone_dial_plan_get_all_list
(
void
);
...
...
include/linphone/factory.h
View file @
bf1d1d4e
...
...
@@ -276,6 +276,13 @@ 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
);
/**
* @}
*/
...
...
src/dial-plan/dial-plan.cpp
View file @
bf1d1d4e
...
...
@@ -373,7 +373,7 @@ int DialPlan::lookupCccFromIso(string iso) {
}
const
DialPlan
&
DialPlan
::
findByCccAsInt
(
int
ccc
)
{
string
cccString
=
to_s
tring
(
ccc
);
string
cccString
=
Utils
::
toS
tring
(
ccc
);
return
DialPlan
::
findByCcc
(
cccString
);
}
...
...
wrappers/java/migration.sh
View file @
bf1d1d4e
...
...
@@ -238,7 +238,7 @@ eval "$SED_START 's/mLc.destroy()/mLc = null/g' $SED_END"
#Core.needsEchoCalibration()
#Core.hasCrappyOpenGL()
#Core.getMSFactory()
#C
O
re.startEchoCalibration
#C
o
re.startEchoCalibration
#Core.startEchoTester
#Core.stopEchoTester
...
...
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