mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsItem: move function isAdded() to CComponentsItem class
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