laid groundwork for newcache posted

re-enabled postedVEG
added convenience base class for gxs services
fixed posted and gxs gui
removed tokenservicev2, now just tokenservice 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5641 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2012-10-05 18:12:52 +00:00
parent a57d627074
commit 8f2d85ed52
32 changed files with 1202 additions and 761 deletions

View file

@ -0,0 +1,86 @@
#include "p3posted.h"
p3Posted::p3Posted(RsGeneralDataService *gds, RsNetworkExchangeService *nes)
: RsGenExchange(gds, nes, NULL, RS_SERVICE_GXSV1_TYPE_POSTED), RsPosted(this)
{
}
void p3Posted::notifyChanges(std::vector<RsGxsNotify *> &changes)
{
}
bool p3Posted::getGroup(const uint32_t &token, RsPostedGroup &group)
{
}
bool p3Posted::getPost(const uint32_t &token, RsPostedPost &post)
{
}
bool p3Posted::getComment(const uint32_t &token, RsPostedComment &comment)
{
}
bool p3Posted::submitGroup(uint32_t &token, RsPostedGroup &group)
{
}
bool p3Posted::submitPost(uint32_t &token, RsPostedPost &post)
{
}
bool p3Posted::submitVote(uint32_t &token, RsPostedVote &vote)
{
}
bool p3Posted::submitComment(uint32_t &token, RsPostedComment &comment)
{
}
// Special Ranking Request.
bool p3Posted::requestRanking(uint32_t &token, RsGxsGroupId groupId)
{
}
bool p3Posted::getRankedPost(const uint32_t &token, RsPostedPost &post)
{
}
bool p3Posted::extractPostedCache()
{
}
// Control Ranking Calculations.
bool p3Posted::setViewMode(uint32_t mode)
{
}
bool p3Posted::setViewPeriod(uint32_t period)
{
}
bool p3Posted::setViewRange(uint32_t first, uint32_t count)
{
}
// exposed for testing...
float p3Posted::calcPostScore(uint32_t& token, const RsGxsMessageId)
{
}