mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-15 11:18:53 +01:00
24 lines
564 B
C++
24 lines
564 B
C++
/* This file is subject to the terms and conditions defined in
|
|
* file 'LICENSE.txt', which is part of this source code package.
|
|
*/
|
|
#pragma once
|
|
|
|
#include "Component/Component.h"
|
|
#include "../Collection/Item.h"
|
|
|
|
class ComponentItemBinding
|
|
{
|
|
public:
|
|
ComponentItemBinding(Component *c, Item *item);
|
|
ComponentItemBinding(Item *item);
|
|
virtual ~ComponentItemBinding();
|
|
Item* GetCollectionItem() const;
|
|
|
|
void SetComponent(Component *c);
|
|
Component* GetComponent() const;
|
|
|
|
private:
|
|
Component *CollectionComponent;
|
|
Item *CollectionItem;
|
|
};
|