#ifndef POSTEDCREATEPOSTDIALOG_H #define POSTEDCREATEPOSTDIALOG_H #include #include "retroshare/rsposted.h" #include "PostedUserTypes.h" #include "util/TokenQueue.h" namespace Ui { class PostedCreatePostDialog; } class PostedCreatePostDialog : public QDialog { Q_OBJECT public: /*! * @param tokenQ parent callee token * @param posted */ explicit PostedCreatePostDialog(TokenQueue* tokenQ, RsPosted* posted, const RsGxsGroupId& grpId, QWidget *parent = 0); ~PostedCreatePostDialog(); private slots: void createPost(); private: Ui::PostedCreatePostDialog *ui; QString mLink; QString mNotes; RsPosted* mPosted; RsGxsGroupId mGrpId; TokenQueue* mTokenQueue; }; #endif // POSTEDCREATEPOSTDIALOG_H