add two classes
diff --git a/model/sync-app-data-publish.h b/model/sync-app-data-publish.h
index 5d122dc..3859153 100644
--- a/model/sync-app-data-publish.h
+++ b/model/sync-app-data-publish.h
@@ -41,7 +41,8 @@
{
public:
std::pair<std::string, boost::shared_ptr<const DataBuffer> > getRecentData();
- bool publishData(std::string name, const DataBufer &dataBuffer);
+ bool publishData(std::string name, boost::shared_ptr<DataBufer> dataBuffer,
+ int freshness);
private:
boost::shared_ptr<CcnxWrapper> ccnxHandle;