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
9178c1a5
Commit
9178c1a5
authored
Sep 28, 2017
by
Ghislain MARY
Browse files
Add a method to set the address of a participant.
parent
f44d76f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/conference/participant-p.h
src/conference/participant-p.h
+2
-1
src/conference/participant.cpp
src/conference/participant.cpp
+0
-4
No files found.
src/conference/participant-p.h
View file @
9178c1a5
...
...
@@ -39,7 +39,8 @@ public:
virtual
~
ParticipantPrivate
()
=
default
;
std
::
shared_ptr
<
CallSession
>
createSession
(
const
Conference
&
conference
,
const
CallSessionParams
*
params
,
bool
hasMedia
,
CallSessionListener
*
listener
);
std
::
shared_ptr
<
CallSession
>
getSession
()
const
;
std
::
shared_ptr
<
CallSession
>
getSession
()
const
{
return
session
;
}
void
setAddress
(
const
Address
&
newAddr
)
{
addr
=
newAddr
;
}
private:
Address
addr
;
...
...
src/conference/participant.cpp
View file @
9178c1a5
...
...
@@ -38,10 +38,6 @@ shared_ptr<CallSession> ParticipantPrivate::createSession (const Conference &con
return
session
;
}
shared_ptr
<
CallSession
>
ParticipantPrivate
::
getSession
()
const
{
return
session
;
}
// =============================================================================
Participant
::
Participant
(
const
Address
&
addr
)
:
Object
(
*
new
ParticipantPrivate
)
{
...
...
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