mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Add a couple of methods to ServerGroupChatRoom.
This commit is contained in:
parent
a23391a056
commit
f14896c65e
2 changed files with 9 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ class ParticipantDevice;
|
|||
|
||||
class ServerGroupChatRoomPrivate : public ChatRoomPrivate {
|
||||
public:
|
||||
void setState (ChatRoom::State state) override;
|
||||
|
||||
std::shared_ptr<Participant> addParticipant (const IdentityAddress &participantAddress);
|
||||
void removeParticipant (const std::shared_ptr<const Participant> &participant);
|
||||
|
||||
|
|
@ -98,6 +100,7 @@ private:
|
|||
CallSession::State newState,
|
||||
const std::string &message
|
||||
) override;
|
||||
void onCallSessionSetReleased (const std::shared_ptr<CallSession> &session) override;
|
||||
|
||||
std::list<std::shared_ptr<Participant>> filteredParticipants;
|
||||
ChatRoomListener *chatRoomListener = this;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,10 @@ LINPHONE_BEGIN_NAMESPACE
|
|||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void ServerGroupChatRoomPrivate::setState (ChatRoom::State state) {
|
||||
ChatRoomPrivate::setState(state);
|
||||
}
|
||||
|
||||
shared_ptr<Participant> ServerGroupChatRoomPrivate::addParticipant (const IdentityAddress &) {
|
||||
return nullptr;
|
||||
}
|
||||
|
|
@ -124,6 +128,8 @@ void ServerGroupChatRoomPrivate::onCallSessionStateChanged (
|
|||
const string &
|
||||
) {}
|
||||
|
||||
void ServerGroupChatRoomPrivate::onCallSessionSetReleased (const shared_ptr<CallSession> &session) {}
|
||||
|
||||
// =============================================================================
|
||||
|
||||
ServerGroupChatRoom::ServerGroupChatRoom (const shared_ptr<Core> &core, SalCallOp *op)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue