mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 15:48:09 +00:00
Add registration of CoreListener in the remote conference event handler.
This commit is contained in:
parent
16a6c279ee
commit
047eba2f10
2 changed files with 5 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#include "conference/remote-conference.h"
|
||||
#include "content/content-manager.h"
|
||||
#include "content/content.h"
|
||||
#include "core/core.h"
|
||||
#include "core/core-p.h"
|
||||
#include "logger/logger.h"
|
||||
#include "remote-conference-event-handler-p.h"
|
||||
#include "xml/conference-info.h"
|
||||
|
|
@ -214,9 +214,12 @@ Object(*new RemoteConferenceEventHandlerPrivate) {
|
|||
L_D();
|
||||
xercesc::XMLPlatformUtils::Initialize();
|
||||
d->conf = remoteConference;
|
||||
d->conf->getCore()->getPrivate()->registerListener(d);
|
||||
}
|
||||
|
||||
RemoteConferenceEventHandler::~RemoteConferenceEventHandler () {
|
||||
L_D();
|
||||
d->conf->getCore()->getPrivate()->unregisterListener(d);
|
||||
xercesc::XMLPlatformUtils::Terminate();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ class LINPHONE_PUBLIC Core : public Object {
|
|||
friend class MainDb;
|
||||
friend class MainDbChatMessageKey;
|
||||
friend class MainDbEventKey;
|
||||
friend class RemoteConferenceEventHandler;
|
||||
friend class ServerGroupChatRoom;
|
||||
friend class ServerGroupChatRoomPrivate;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue