bool CBus::OnAddAlbum(SAlbum *opdata, SAction *act)
{
bool ret = false;
- if (m->cb.cbAddLabel)
+ if (m->cb.cbAddAlbum)
ret = m->cb.cbAddAlbum(opdata, act, m->cb.cookie);
return ret;
}
bool CBus::OnAddContent(SContent *opdata, SAction *act)
{
bool ret = false;
- if (m->cb.cbAddLabel)
+ if (m->cb.cbAddContent)
ret = m->cb.cbAddContent(opdata, act, m->cb.cookie);
return ret;
}
bool CBus::OnAddPin(SPin *opdata, SAction *act)
{
bool ret = false;
- if (m->cb.cbAddLabel)
+ if (m->cb.cbAddPin)
ret = m->cb.cbAddPin(opdata, act, m->cb.cookie);
return ret;
}
bool CBus::OnDelContent(const char *svcid, int ctnt_id)
{
bool ret = false;
- if (m->cb.cbAddLabel)
+ if (m->cb.cbDelContent)
ret = m->cb.cbDelContent(svcid, ctnt_id, m->cb.cookie);
return ret;
}
bool CBus::OnDelAll(const char *svcid, bool reload)
{
bool ret = false;
- if (m->cb.cbAddLabel)
+ if (m->cb.cbDelAll)
ret = m->cb.cbDelAll(svcid, reload, m->cb.cookie);
return ret;
}