if (cb_.deleted == nullptr)
return;
IEventInfo* c_info = const_cast<IEventInfo*>(&info);
- cb_.deleted(static_cast<noti_ex_manager_h>(manager),
+ if(c_info->GetEventType() == static_cast<int>(IEventInfo::EventType::DeleteAll)) {
+ cb_.deleted(static_cast<noti_ex_manager_h>(manager),
+ static_cast<noti_ex_event_info_h>(c_info),
+ nullptr, user_data_);
+ } else {
+ cb_.deleted(static_cast<noti_ex_manager_h>(manager),
static_cast<noti_ex_event_info_h>(c_info),
static_cast<noti_ex_item_h>(
new Handle(deletedItem)), user_data_);
+ }
}
void InvokeError(Manager* manager, NotificationError error, int requestId) {