mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 05:41:24 -05: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
|