blob: 5b35afe2d45f9ca85dbda7c4b21f5e675bf007d1 [file] [log] [blame]
Yingdi Yu0269c872013-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 Yubf7517c2013-10-15 20:31:37 -070011#ifndef ADDCONTACTPANEL_H
12#define ADDCONTACTPANEL_H
13
14#include <QDialog>
15
Yingdi Yu0269c872013-10-16 13:16:49 -070016#ifndef Q_MOC_RUN
17#include "endorse-certificate.h"
18#endif
19
Yingdi Yubf7517c2013-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 Yu0269c872013-10-16 13:16:49 -070032private slots:
33 void
34 onCancelClicked();
35
36 void
37 onSearchClicked();
38
39 void
40 onAddClicked();
41
Yingdi Yubf7517c2013-10-15 20:31:37 -070042private:
Yingdi Yu0269c872013-10-16 13:16:49 -070043 Ui::AddContactPanel *ui;
44 Ptr<EndorseCertificate> m_selfEndorseCertificate;
Yingdi Yubf7517c2013-10-15 20:31:37 -070045};
46
47#endif // ADDCONTACTPANEL_H