security: Fix security bugs, now ChronoChat should work with security
Change-Id: I81e7687bb4b02798ad9de3da34b36b0f011ffd66
diff --git a/src/controller.h b/src/controller.h
index 85986c7..40a481a 100644
--- a/src/controller.h
+++ b/src/controller.h
@@ -80,7 +80,7 @@
onLocalPrefixTimeout(const ndn::Interest& interest);
void
- onInvitationInterest(const ndn::Name& prefix, const ndn::Interest& interest, size_t routingPrefixOffset);
+ onInvitationInterestWrapper(const ndn::Name& prefix, const ndn::Interest& interest, size_t routingPrefixOffset);
void
onInvitationRegisterFailed(const ndn::Name& prefix, const std::string& failInfo);
@@ -113,6 +113,9 @@
void
refreshBrowseContact();
+ void
+ invitationInterest(const ndn::Name& prefix, const ndn::Interest& interest, size_t routingPrefixOffset);
+
private slots:
void
onIdentityUpdated(const QString& identity);
@@ -164,6 +167,9 @@
void
onShowChatMessage(const QString& chatroomName, const QString& from, const QString& data);
+
+ void
+ onResetIcon();
void
onRemoveChatDialog(const QString& chatroom);
@@ -174,6 +180,9 @@
void
onError(const QString& msg);
+ void
+ onInvitationInterest(const ndn::Name& prefix, const ndn::Interest& interest, size_t routingPrefixOffset);
+
private: // private member
typedef std::map<std::string, QAction*> ChatActionList;
typedef std::map<std::string, ChatDialog*> ChatDialogList;