mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-02 10:16:50 +02:00
Port from git
This commit is contained in:
23
Source/Graphics/ComponentItemBinding.h
Normal file
23
Source/Graphics/ComponentItemBinding.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/* 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;
|
||||
};
|
||||
Reference in New Issue
Block a user