Added support for ContentObject
diff --git a/ndn-cpp/encoding/WireFormat.hpp b/ndn-cpp/encoding/WireFormat.hpp
index f09ae22..8458f94 100644
--- a/ndn-cpp/encoding/WireFormat.hpp
+++ b/ndn-cpp/encoding/WireFormat.hpp
@@ -12,6 +12,7 @@
class Name;
class Interest;
+class ContentObject;
class WireFormat {
public:
@@ -21,7 +22,8 @@
virtual void encodeInterest(const Interest &interest, std::vector<unsigned char> &output);
virtual void decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength);
- // etc. for each type of object.
+ virtual void encodeContentObject(const ContentObject &contentObject, std::vector<unsigned char> &output);
+ virtual void decodeContentObject(ContentObject &contentObject, const unsigned char *input, unsigned int inputLength);
};
}