RetroShare/retroshare-gui/src/gui/PhotoShare/AlbumDialog.h
chrisparker126 744a78b140 Added cleanup code for GXS services in rsinit (services now based in GXS_phase1 folder in .retroshare/ folder
disabled msg synchronisation by default through compilation #define (use GXS_ENABLE_MSG_SYNC to enable message sync)
Finally removed v2 suffix from all photo components and filenames (please edit your libretroshare.pro file accordingly)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5883 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-24 19:49:23 +00:00

44 lines
845 B
C++

#ifndef ALBUMDIALOG_H
#define ALBUMDIALOG_H
#include <QDialog>
#include "retroshare/rsphoto.h"
#include "util/TokenQueue.h"
#include "PhotoShareItemHolder.h"
#include "PhotoItem.h"
#include "PhotoDrop.h"
namespace Ui {
class AlbumDialog;
}
class AlbumDialog : public QDialog, public PhotoShareItemHolder
{
Q_OBJECT
public:
explicit AlbumDialog(const RsPhotoAlbum& album, TokenQueue* photoQueue, RsPhoto* rs_Photo, QWidget *parent = 0);
~AlbumDialog();
void notifySelection(PhotoShareItem* selection);
private:
void setUp();
private slots:
void updateAlbumPhotos();
void deletePhoto();
void editPhoto();
private:
Ui::AlbumDialog *ui;
RsPhoto* mRsPhoto;
TokenQueue* mPhotoQueue;
RsPhotoAlbum mAlbum;
PhotoDrop* mPhotoDrop;
PhotoItem* mPhotoSelected;
};
#endif // ALBUMDIALOG_H