blob: 3ad06394bd417437f03d55a82836f594296fb7e6 [file] [log] [blame]
Mengjin Yan391d7242014-08-28 20:51:55 -07001/* -*- 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
21namespace Ui {
22class ChatroomDiscoveryViewDialog;
23}
24
Yingdi Yueb692ac2015-02-10 18:46:18 -080025namespace chronochat {
Mengjin Yan391d7242014-08-28 20:51:55 -070026
27class ChatroomDiscoveryViewDialog : public QDialog
28{
29 Q_OBJECT
30
31public:
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 Ding5d98cc52014-10-30 15:17:53 -070042 setChatroomParticipants(const std::list<ndn::Name>& chatroomParticipants);
Mengjin Yan391d7242014-08-28 20:51:55 -070043
44
45private slots:
46 void
47 onCloseButtonClicked();
48
49private:
50 Ui::ChatroomDiscoveryViewDialog* ui;
51};
52
Yingdi Yueb692ac2015-02-10 18:46:18 -080053} //namespace chronochat
Mengjin Yan391d7242014-08-28 20:51:55 -070054
55#endif // CHRONOCHAT_CHATROOM_DISCOVERY_VIEW_DIALOG_HPP