bool CPVRChannelGroupInternal::Update(void) { CPVRChannelGroupInternal PVRChannels_tmp(m_bRadio); PVRChannels_tmp.LoadFromClients(); return UpdateGroupEntries(PVRChannels_tmp); }
bool CPVRChannelGroup::Update(void) { CPVRChannelGroup PVRChannels_tmp(m_bRadio, m_iGroupId, m_strGroupName, m_iSortOrder); PVRChannels_tmp.LoadFromClients(); return UpdateGroupEntries(PVRChannels_tmp); }
bool CPVRChannelGroupInternal::Update() { bool bReturn = false; CPVRDatabase *database = CPVRManager::Get()->GetTVDatabase(); if (database && database->Open()) { CPVRChannelGroupInternal PVRChannels_tmp(m_bRadio); PVRChannels_tmp.LoadFromClients(false); bReturn = UpdateGroupEntries(&PVRChannels_tmp); database->Close(); } return bReturn; }