Add a couple of methods to ServerGroupChatRoom.

This commit is contained in:
Ghislain MARY 2018-03-02 15:20:10 +01:00
parent a23391a056
commit f14896c65e
2 changed files with 9 additions and 0 deletions

View file

@ -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;

View file

@ -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)