blob: 9a5fe75b2b669ebcae13e045900e7be7b9244d46 [file] [log] [blame]
Yingdi Yud59b5932013-10-16 13:16:49 -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: Yingdi Yu <yingdi@cs.ucla.edu>
9 */
10
Yingdi Yua4898752013-10-15 20:31:37 -070011#ifndef ADDCONTACTPANEL_H
12#define ADDCONTACTPANEL_H
13
14#include <QDialog>
15
Yingdi Yud59b5932013-10-16 13:16:49 -070016#ifndef Q_MOC_RUN
17#include "endorse-certificate.h"
18#endif
19
Yingdi Yua4898752013-10-15 20:31:37 -070020namespace Ui {
21class AddContactPanel;
22}
23
24class AddContactPanel : public QDialog
25{
26 Q_OBJECT
27
28public:
29 explicit AddContactPanel(QWidget *parent = 0);
30 ~AddContactPanel();
31
Yingdi Yud59b5932013-10-16 13:16:49 -070032private slots:
33 void
34 onCancelClicked();
35
36 void
37 onSearchClicked();
38
39 void
40 onAddClicked();
41
Yingdi Yua4898752013-10-15 20:31:37 -070042private:
Yingdi Yud59b5932013-10-16 13:16:49 -070043 Ui::AddContactPanel *ui;
Yingdi Yu49eea9f2013-10-17 15:07:17 -070044 ndn::Ptr<EndorseCertificate> m_selfEndorseCertificate;
Yingdi Yua4898752013-10-15 20:31:37 -070045};
46
47#endif // ADDCONTACTPANEL_H