Major update to rename ContentObject to Data everywhere.
diff --git a/ndn-cpp/encoding/WireFormat.hpp b/ndn-cpp/encoding/WireFormat.hpp
index 1afe25f..a7d62bc 100644
--- a/ndn-cpp/encoding/WireFormat.hpp
+++ b/ndn-cpp/encoding/WireFormat.hpp
@@ -12,15 +12,15 @@
namespace ndn {
class Interest;
-class ContentObject;
+class Data;
class WireFormat {
public:
virtual ptr_lib::shared_ptr<std::vector<unsigned char> > encodeInterest(const Interest &interest);
virtual void decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength);
- virtual ptr_lib::shared_ptr<std::vector<unsigned char> > encodeContentObject(const ContentObject &contentObject);
- virtual void decodeContentObject(ContentObject &contentObject, const unsigned char *input, unsigned int inputLength);
+ virtual ptr_lib::shared_ptr<std::vector<unsigned char> > encodeData(const Data &data);
+ virtual void decodeData(Data &data, const unsigned char *input, unsigned int inputLength);
};
}