refactor: cleanup and sync
* Fix Jenkins scripts and sync with ndn-cxx
* Sync waf-tools
* Remove ChronoSync submodule
* Remove commented/dead code and includes
* Use ScopedEventId and ScopedRegisteredPrefixHandle
* Set setCanBePrefix to true explicitly everywhere
* Fix macOS build, add GHA CI
* Use NDN_THROW for throwing errors
* Other smaller fixes
Change-Id: I615e0e239511b97101852e1d7c620a2071a18ff8
diff --git a/src/controller-backend.hpp b/src/controller-backend.hpp
index 18b1cd8..2e3aa9f 100644
--- a/src/controller-backend.hpp
+++ b/src/controller-backend.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2013, Regents of the University of California
+ * Copyright (c) 2020, Regents of the University of California
*
* BSD license, See the LICENSE file for more information
*
@@ -57,12 +57,6 @@
getInvitationRoutingPrefix();
void
- onInvitationPrefixReset();
-
- void
- onInvitationPrefixResetFailed(const std::string& failInfo);
-
- void
onInvitationInterest(const ndn::Name& prefix, const ndn::Interest& interest,
size_t routingPrefixOffset);
@@ -170,8 +164,8 @@
ndn::security::ValidatorNull m_nullValidator;
// RegisteredPrefixId
- shared_ptr<ndn::RegisteredPrefixHandle> m_invitationListenerId;
- shared_ptr<ndn::RegisteredPrefixHandle> m_requestListenerId;
+ ndn::ScopedRegisteredPrefixHandle m_invitationListenerHandle;
+ ndn::ScopedRegisteredPrefixHandle m_requestListenerHandle;
// ChatRoomList
QStringList m_chatDialogList;