blob: 1c3e37e0bb34887e6d268814c87e8171d4b9b2c9 [file] [log] [blame]
Alexander Afanasyevb4b92292013-07-09 13:54:59 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2013, Regents of the University of California
Yingdi Yu5b989132013-10-23 14:03:09 -07004 * Yingdi Yu
Alexander Afanasyevb4b92292013-07-09 13:54:59 -07005 *
Yingdi Yu5b989132013-10-23 14:03:09 -07006 * BSD license, See the LICENSE file for more information
Alexander Afanasyevb4b92292013-07-09 13:54:59 -07007 *
Yingdi Yu5b989132013-10-23 14:03:09 -07008 * Author: Yingdi Yu <yingdi@cs.ucla.edu>
Alexander Afanasyevb4b92292013-07-09 13:54:59 -07009 */
10
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070011#include "chatdialog.h"
Yingdi Yu5b989132013-10-23 14:03:09 -070012#include "ui_chatdialog.h"
Alexander Afanasyevf829f4d2013-05-07 15:59:36 -070013
Yingdi Yu5b989132013-10-23 14:03:09 -070014using namespace std;
15using namespace ndn;
Alexander Afanasyevf829f4d2013-05-07 15:59:36 -070016
Yingdi Yu5b989132013-10-23 14:03:09 -070017ChatDialog::ChatDialog(const Name& chatroomPrefix,
18 const Name& localPrefix,
19 QWidget *parent)
20 : QDialog(parent)
21 , m_chatroomPrefix(chatroomPrefix)
22 , m_localPrefix(localPrefix)
23 , ui(new Ui::ChatDialog)
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070024{
Yingdi Yu5b989132013-10-23 14:03:09 -070025 ui->setupUi(this);
Zhenkai Zhu5a8d5aa2012-05-30 21:25:23 -070026}
27
Zhenkai Zhu82a62752012-06-04 17:11:04 -070028ChatDialog::~ChatDialog()
29{
Yingdi Yu5b989132013-10-23 14:03:09 -070030 delete ui;
Zhenkai Zhu82a62752012-06-04 17:11:04 -070031}
32
Zhenkai Zhu86df7412012-09-27 16:30:20 -070033void
Yingdi Yu5b989132013-10-23 14:03:09 -070034ChatDialog::sendInvitation()
Zhenkai Zhucf024442012-10-05 10:33:08 -070035{
Yingdi Yu5b989132013-10-23 14:03:09 -070036
Zhenkai Zhud13acd02012-06-04 15:25:20 -070037}
Alexander Afanasyevb4b92292013-07-09 13:54:59 -070038
39#if WAF
40#include "chatdialog.moc"
41#include "chatdialog.cpp.moc"
42#endif