Commit fc610146 authored by Erwan Croze's avatar Erwan Croze 👋🏻 Committed by Ghislain MARY
Browse files

Adding setLastNotify to remote conference event handler

parent 2f1d16a3
......@@ -346,12 +346,12 @@ string LocalConferenceEventHandlerPrivate::createNotifyParticipantDeviceRemoved
// =============================================================================
LocalConferenceEventHandler::LocalConferenceEventHandler (LocalConference *localConference) :
LocalConferenceEventHandler::LocalConferenceEventHandler (LocalConference *localConference, unsigned int notify) :
Object(*new LocalConferenceEventHandlerPrivate) {
L_D();
xercesc::XMLPlatformUtils::Initialize();
d->conf = localConference;
// TODO : init d->lastNotify = last notify
d->lastNotify = notify;
}
LocalConferenceEventHandler::~LocalConferenceEventHandler () {
......@@ -429,4 +429,9 @@ void LocalConferenceEventHandler::notifyParticipantDeviceRemoved (const Address
d->notifyAll(d->createNotifyParticipantDeviceRemoved(addr, gruu));
}
void LocalConferenceEventHandler::setLastNotify (unsigned int lastNotify) {
L_D();
d->lastNotify = lastNotify;
}
LINPHONE_END_NAMESPACE
......@@ -35,7 +35,7 @@ class LocalConferenceEventHandlerPrivate;
class LocalConferenceEventHandler : public Object {
public:
LocalConferenceEventHandler (LocalConference *localConference);
LocalConferenceEventHandler (LocalConference *localConference, unsigned int notify = 0);
~LocalConferenceEventHandler ();
void subscribeReceived (LinphoneEvent *lev);
......@@ -45,6 +45,8 @@ public:
void notifySubjectChanged ();
void notifyParticipantDeviceAdded (const Address &addr, const Address &gruu);
void notifyParticipantDeviceRemoved (const Address &addr, const Address &gruu);
void setLastNotify (unsigned int lastNotify);
private:
L_DECLARE_PRIVATE(LocalConferenceEventHandler);
......
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