mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
23 lines
447 B
C
23 lines
447 B
C
|
#ifndef PHOTOSHAREITEMHOLDER_H
|
||
|
#define PHOTOSHAREITEMHOLDER_H
|
||
|
|
||
|
class PhotoShareItem
|
||
|
{
|
||
|
|
||
|
public:
|
||
|
PhotoShareItem() { return; }
|
||
|
virtual ~PhotoShareItem(){ return; }
|
||
|
virtual bool isSelected() = 0;
|
||
|
virtual void setSelected(bool selected) = 0;
|
||
|
};
|
||
|
|
||
|
class PhotoShareItemHolder
|
||
|
{
|
||
|
public:
|
||
|
PhotoShareItemHolder();
|
||
|
|
||
|
virtual void notifySelection(PhotoShareItem* selection) = 0;
|
||
|
};
|
||
|
|
||
|
#endif // PHOTOSHAREITEMHOLDER_H
|