Add chatroom discovery UI
Change-Id: I94ee73ce9b4bcc63e7ecbdbf2f4844b6b57615a3
diff --git a/disabled/send-invitation-request-dialog.hpp b/disabled/send-invitation-request-dialog.hpp
new file mode 100644
index 0000000..ea86676
--- /dev/null
+++ b/disabled/send-invitation-request-dialog.hpp
@@ -0,0 +1,55 @@
+#ifndef SENDINVITATIONREQUESTDIALOG_H
+#define SENDINVITATIONREQUESTDIALOG_H
+
+#include <QDialog>
+#include <QStringListModel>
+#include <QMessageBox>
+#include <QDebug>
+#include <QAbstractItemView>
+
+#ifndef Q_MOC_RUN
+#include "chatroom-discovery.hpp"
+#endif
+
+namespace Ui {
+class SendInvitationRequestDialog;
+}
+
+namespace chronos {
+
+class SendInvitationRequestDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit SendInvitationRequestDialog(QWidget *parent = 0);
+ ~SendInvitationRequestDialog();
+
+ void
+ setContacts(const std::vector<ndn::Name>& contacts);
+
+ void
+ setChatroomName(const QString chatroomName);
+
+public slots:
+ void
+ onSendButtonClicked();
+
+ void
+ onCancelButtonClicked();
+
+ void
+ onContactListViewClicked(QModelIndex modelIndex);
+
+ void
+ onContactListViewDoubleClicked(QModelIndex modelIndex);
+
+private:
+ Ui::SendInvitationRequestDialog *ui;
+ QString m_chatroomName;
+ QStringListModel *m_stringListModel;
+};
+
+} //namespace chronos
+
+#endif // SENDINVITATIONREQUESTDIALOG_H