Mengjin Yan | 391d724 | 2014-08-28 20:51:55 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /* |
| 3 | * Copyright (c) 2013, Regents of the University of California |
| 4 | * Yingdi Yu |
| 5 | * |
| 6 | * BSD license, See the LICENSE file for more information |
| 7 | * |
| 8 | * Author: Mengjin Yan <jane.yan0129@gmail.com> |
| 9 | * Author: Yingdi Yu <yingdi@cs.ucla.edu> |
| 10 | */ |
| 11 | |
| 12 | #ifndef CHRONOCHAT_CHATROOM_DISCOVERY_VIEW_DIALOG_HPP |
| 13 | #define CHRONOCHAT_CHATROOM_DISCOVERY_VIEW_DIALOG_HPP |
| 14 | |
| 15 | #include <QDialog> |
| 16 | |
| 17 | #ifndef Q_MOC_RUN |
| 18 | #include "common.hpp" |
| 19 | #endif |
| 20 | |
| 21 | namespace Ui { |
| 22 | class ChatroomDiscoveryViewDialog; |
| 23 | } |
| 24 | |
| 25 | namespace chronos { |
| 26 | |
| 27 | class ChatroomDiscoveryViewDialog : public QDialog |
| 28 | { |
| 29 | Q_OBJECT |
| 30 | |
| 31 | public: |
| 32 | explicit ChatroomDiscoveryViewDialog(QWidget* parent = 0); |
| 33 | ~ChatroomDiscoveryViewDialog(); |
| 34 | |
| 35 | void |
| 36 | setChatroomName(QString chatroomName); |
| 37 | |
| 38 | void |
| 39 | setChatroomTrustModel(QString chatroomTrustModel); |
| 40 | |
| 41 | void |
Qiuhan Ding | 5d98cc5 | 2014-10-30 15:17:53 -0700 | [diff] [blame^] | 42 | setChatroomParticipants(const std::list<ndn::Name>& chatroomParticipants); |
Mengjin Yan | 391d724 | 2014-08-28 20:51:55 -0700 | [diff] [blame] | 43 | |
| 44 | |
| 45 | private slots: |
| 46 | void |
| 47 | onCloseButtonClicked(); |
| 48 | |
| 49 | private: |
| 50 | Ui::ChatroomDiscoveryViewDialog* ui; |
| 51 | }; |
| 52 | |
| 53 | } //namespace chronos |
| 54 | |
| 55 | #endif // CHRONOCHAT_CHATROOM_DISCOVERY_VIEW_DIALOG_HPP |