Adjust UI
diff --git a/src/addcontactpanel.h b/src/addcontactpanel.h
index c640394..5b35afe 100644
--- a/src/addcontactpanel.h
+++ b/src/addcontactpanel.h
@@ -1,8 +1,22 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
+/*
+ * Copyright (c) 2013, Regents of the University of California
+ * Yingdi Yu
+ *
+ * BSD license, See the LICENSE file for more information
+ *
+ * Author: Yingdi Yu <yingdi@cs.ucla.edu>
+ */
+
#ifndef ADDCONTACTPANEL_H
#define ADDCONTACTPANEL_H
#include <QDialog>
+#ifndef Q_MOC_RUN
+#include "endorse-certificate.h"
+#endif
+
namespace Ui {
class AddContactPanel;
}
@@ -15,8 +29,19 @@
explicit AddContactPanel(QWidget *parent = 0);
~AddContactPanel();
+private slots:
+ void
+ onCancelClicked();
+
+ void
+ onSearchClicked();
+
+ void
+ onAddClicked();
+
private:
- Ui::AddContactPanel *ui;
+ Ui::AddContactPanel *ui;
+ Ptr<EndorseCertificate> m_selfEndorseCertificate;
};
#endif // ADDCONTACTPANEL_H