Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
5d3d1965
Commit
5d3d1965
authored
10 years ago
by
Alexandre Lision
Browse files
Options
Downloads
Patches
Plain Diff
Use IntegerMap swig type
parent
d52cfcc0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/org/sflphone/service/CallManagerCallBack.java
+1
-1
1 addition, 1 deletion
src/org/sflphone/service/CallManagerCallBack.java
src/org/sflphone/service/IntegerMap.java
+74
-0
74 additions, 0 deletions
src/org/sflphone/service/IntegerMap.java
with
75 additions
and
1 deletion
src/org/sflphone/service/CallManagerCallBack.java
+
1
−
1
View file @
5d3d1965
...
...
@@ -343,7 +343,7 @@ public class CallManagerCallBack extends Callback {
}
@Override
public
void
on_rtcp_report_received
(
String
callID
,
SWIGTYPE_p_std__mapT_std__string_int_t
stats
)
{
public
void
on_rtcp_report_received
(
String
callID
,
IntegerMap
stats
)
{
Log
.
i
(
TAG
,
"on_rtcp_report_received"
);
Intent
intent
=
new
Intent
(
RTCP_REPORT_RECEIVED
);
mService
.
sendBroadcast
(
intent
);
...
...
This diff is collapsed.
Click to expand it.
src/org/sflphone/service/IntegerMap.java
0 → 100644
+
74
−
0
View file @
5d3d1965
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.11
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package
org.sflphone.service
;
public
class
IntegerMap
{
private
long
swigCPtr
;
protected
boolean
swigCMemOwn
;
protected
IntegerMap
(
long
cPtr
,
boolean
cMemoryOwn
)
{
swigCMemOwn
=
cMemoryOwn
;
swigCPtr
=
cPtr
;
}
protected
static
long
getCPtr
(
IntegerMap
obj
)
{
return
(
obj
==
null
)
?
0
:
obj
.
swigCPtr
;
}
protected
void
finalize
()
{
delete
();
}
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
)
{
if
(
swigCMemOwn
)
{
swigCMemOwn
=
false
;
SFLPhoneserviceJNI
.
delete_IntegerMap
(
swigCPtr
);
}
swigCPtr
=
0
;
}
}
public
IntegerMap
()
{
this
(
SFLPhoneserviceJNI
.
new_IntegerMap__SWIG_0
(),
true
);
}
public
IntegerMap
(
IntegerMap
arg0
)
{
this
(
SFLPhoneserviceJNI
.
new_IntegerMap__SWIG_1
(
IntegerMap
.
getCPtr
(
arg0
),
arg0
),
true
);
}
public
long
size
()
{
return
SFLPhoneserviceJNI
.
IntegerMap_size
(
swigCPtr
,
this
);
}
public
boolean
empty
()
{
return
SFLPhoneserviceJNI
.
IntegerMap_empty
(
swigCPtr
,
this
);
}
public
void
clear
()
{
SFLPhoneserviceJNI
.
IntegerMap_clear
(
swigCPtr
,
this
);
}
public
int
get
(
String
key
)
{
return
SFLPhoneserviceJNI
.
IntegerMap_get
(
swigCPtr
,
this
,
key
);
}
public
void
set
(
String
key
,
int
x
)
{
SFLPhoneserviceJNI
.
IntegerMap_set
(
swigCPtr
,
this
,
key
,
x
);
}
public
void
del
(
String
key
)
{
SFLPhoneserviceJNI
.
IntegerMap_del
(
swigCPtr
,
this
,
key
);
}
public
boolean
has_key
(
String
key
)
{
return
SFLPhoneserviceJNI
.
IntegerMap_has_key
(
swigCPtr
,
this
,
key
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment