mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CComponentsForm: add new member isAdded()
Origin commit data
------------------
Branch: ni/coolstream
Commit: f968abe6c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-12 (Wed, 12 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -162,6 +162,15 @@ int CComponentsForm::getCCItemId(CComponentsItem* cc_Item)
|
||||
return -1;
|
||||
}
|
||||
|
||||
bool CComponentsForm::isAdded(CComponentsItem* cc_item)
|
||||
{
|
||||
bool ret = false;
|
||||
if (getCCItemId(cc_item) != -1)
|
||||
ret = true;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
CComponentsItem* CComponentsForm::getCCItem(const uint& cc_item_id)
|
||||
{
|
||||
if (v_cc_items[cc_item_id])
|
||||
|
Reference in New Issue
Block a user