public NotificationItem(AnpMsg _msg, UInt32 appID, IAppHelper _helper) { m_helper = _helper; m_appID = appID; m_notificationToTake = DefaultEffect; // Show a popup only if the event occured after we logged on the // workspace and we caught up with the KAS events. In some cases we // do not add an Anp message to this object, simply check for the // CaughtUp flag. WantShowPopup = (_msg == null || _msg.ID > _helper.KwsLoginLatestEventId) && _helper.HasCaughtUpWithKasEvents(); if (_msg != null) { Init(_msg); } }
public NotificationItem(AnpMsg _msg, UInt32 appID, IAppHelper _helper) { m_helper = _helper; m_appID = appID; m_notificationToTake = DefaultEffect; if (_msg != null) Init(_msg); }
public NotificationItem(AnpMsg _msg, UInt32 appID, IAppHelper _helper) { m_helper = _helper; m_appID = appID; m_notificationToTake = DefaultEffect; // Show a popup only if the event occured after we logged on the // workspace and we caught up with the KAS events. In some cases we // do not add an Anp message to this object, simply check for the // CaughtUp flag. WantShowPopup = (_msg == null || _msg.ID > _helper.KwsLoginLatestEventId) && _helper.HasCaughtUpWithKasEvents(); if (_msg != null) Init(_msg); }