mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponentsItem: move function isAdded() to CComponentsItem class
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3438b23f68
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-19 (Sat, 19 Oct 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -151,3 +151,12 @@ int CComponentsItem::getItemType()
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
//returns true if current item is added to a form
|
||||
bool CComponentsItem::isAdded(CComponentsItem *parent_frm)
|
||||
{
|
||||
if (cc_parent)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user