Commit f14896c6 authored by Ghislain MARY's avatar Ghislain MARY

Add a couple of methods to ServerGroupChatRoom.

parent a23391a0
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment