Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -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: Yingdi Yu <yingdi@cs.ucla.edu> |
| 9 | */ |
| 10 | |
Yingdi Yu | a489875 | 2013-10-15 20:31:37 -0700 | [diff] [blame] | 11 | #ifndef ADDCONTACTPANEL_H |
| 12 | #define ADDCONTACTPANEL_H |
| 13 | |
| 14 | #include <QDialog> |
| 15 | |
Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -0700 | [diff] [blame] | 16 | #ifndef Q_MOC_RUN |
| 17 | #include "endorse-certificate.h" |
| 18 | #endif |
| 19 | |
Yingdi Yu | a489875 | 2013-10-15 20:31:37 -0700 | [diff] [blame] | 20 | namespace Ui { |
| 21 | class AddContactPanel; |
| 22 | } |
| 23 | |
| 24 | class AddContactPanel : public QDialog |
| 25 | { |
| 26 | Q_OBJECT |
| 27 | |
| 28 | public: |
| 29 | explicit AddContactPanel(QWidget *parent = 0); |
| 30 | ~AddContactPanel(); |
| 31 | |
Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -0700 | [diff] [blame] | 32 | private slots: |
| 33 | void |
| 34 | onCancelClicked(); |
| 35 | |
| 36 | void |
| 37 | onSearchClicked(); |
| 38 | |
| 39 | void |
| 40 | onAddClicked(); |
| 41 | |
Yingdi Yu | a489875 | 2013-10-15 20:31:37 -0700 | [diff] [blame] | 42 | private: |
Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -0700 | [diff] [blame] | 43 | Ui::AddContactPanel *ui; |
Yingdi Yu | 49eea9f | 2013-10-17 15:07:17 -0700 | [diff] [blame] | 44 | ndn::Ptr<EndorseCertificate> m_selfEndorseCertificate; |
Yingdi Yu | a489875 | 2013-10-15 20:31:37 -0700 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | #endif // ADDCONTACTPANEL_H |