Move the default parameters for methods from Node to Face.
diff --git a/ndn-cpp/face.cpp b/ndn-cpp/face.cpp
index 7b0d3ea..a2503fe 100644
--- a/ndn-cpp/face.cpp
+++ b/ndn-cpp/face.cpp
@@ -9,6 +9,18 @@
namespace ndn {
+void Face::expressInterest(const Name &name, const Interest *interestTemplate, const OnData &onData, const OnTimeout &onTimeout)
+{
+ if (interestTemplate)
+ node_.expressInterest(Interest
+ (name, interestTemplate->getMinSuffixComponents(), interestTemplate->getMaxSuffixComponents(),
+ interestTemplate->getPublisherPublicKeyDigest(), interestTemplate->getExclude(),
+ interestTemplate->getChildSelector(), interestTemplate->getAnswerOriginKind(),
+ interestTemplate->getScope(), interestTemplate->getInterestLifetimeMilliseconds()), onData, onTimeout);
+ else
+ node_.expressInterest(Interest(name, 4000.0), onData, onTimeout);
+}
+
void Face::shutdown()
{
node_.shutdown();