src: Global renaming ContentObject -> Data
diff --git a/ndn.cxx/ndn-api-face.h b/ndn.cxx/ndn-api-face.h
index ac735c9..4ff7a13 100644
--- a/ndn.cxx/ndn-api-face.h
+++ b/ndn.cxx/ndn-api-face.h
@@ -53,7 +53,7 @@
{
public:
typedef Callback<void, Ptr<const Name>, Ptr<const Interest> > InterestCallback;
- typedef Callback<void, Ptr<const Interest>, Ptr<const ContentObject> > DataCallback;
+ typedef Callback<void, Ptr<const Interest>, Ptr<const Data> > DataCallback;
typedef Callback<void, Ptr<const Interest> > TimeoutCallback;
/**
@@ -103,14 +103,14 @@
* @param data Data packet to publish
*/
void
- Put (Ptr<ContentObject> data);
+ Put (Ptr<Data> data);
public:
virtual bool
SendInterest (Ptr<const Interest> interest);
virtual bool
- SendData (Ptr<const ContentObject> data);
+ SendData (Ptr<const Data> data);
virtual std::ostream&
Print (std::ostream &os) const;