mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-16 03:38:53 +01:00
36 lines
733 B
C++
36 lines
733 B
C++
/* This file is subject to the terms and conditions defined in
|
|
* file 'LICENSE.txt', which is part of this source code package.
|
|
*/
|
|
#include "ComponentItemBinding.h"
|
|
|
|
ComponentItemBinding::ComponentItemBinding( Component *c, Item *item)
|
|
: CollectionComponent(c)
|
|
, CollectionItem(item)
|
|
{
|
|
}
|
|
|
|
ComponentItemBinding::ComponentItemBinding(Item *item)
|
|
: CollectionComponent(NULL)
|
|
, CollectionItem(item)
|
|
{
|
|
}
|
|
|
|
ComponentItemBinding::~ComponentItemBinding()
|
|
{
|
|
}
|
|
|
|
Item* ComponentItemBinding::GetCollectionItem() const
|
|
{
|
|
return CollectionItem;
|
|
}
|
|
|
|
void ComponentItemBinding::SetComponent(Component *c)
|
|
{
|
|
CollectionComponent = c;
|
|
}
|
|
|
|
Component* ComponentItemBinding::GetComponent() const
|
|
{
|
|
return CollectionComponent;
|
|
}
|