mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
Adding setLastNotify to remote conference event handler
This commit is contained in:
parent
2f1d16a306
commit
fc61014650
2 changed files with 10 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue