More improvements to new Cache Services.

* Added p3Posted service. This is a *better* Links Cloud, based on the new Cache system.
 * Fixed p3GxsService retrival of Thread / Children messages.  (for Forum support).
 * Added Dummy Data for testing Forum integration.
 * switched on both these services in libretroshare



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2012-07-01 23:00:54 +00:00
parent 0b0549f437
commit d83e1ea6ec
9 changed files with 1583 additions and 30 deletions

View file

@ -1737,6 +1737,7 @@ RsTurtle *rsTurtle = NULL ;
#include "services/p3wire.h"
#include "services/p3idservice.h"
#include "services/p3forumsv2.h"
#include "services/p3posted.h"
#ifndef PQI_DISABLE_TUNNEL
#include "services/p3tunnel.h"
@ -2152,8 +2153,12 @@ int RsServer::StartupRetroShare()
pqih -> addService(mIdentity);
// Testing New Cache Services.
//p3ForumsV2 *mForumsV2 = new p3ForumsV2(RS_SERVICE_TYPE_FORUMSV2);
//pqih -> addService(mForumsV2);
p3ForumsV2 *mForumsV2 = new p3ForumsV2(RS_SERVICE_TYPE_FORUMSV2);
pqih -> addService(mForumsV2);
// Testing New Cache Services.
p3PostedService *mPosted = new p3PostedService(RS_SERVICE_TYPE_POSTED);
pqih -> addService(mPosted);
#ifndef RS_RELEASE
p3GameLauncher *gameLauncher = new p3GameLauncher(mLinkMgr);
@ -2426,7 +2431,8 @@ int RsServer::StartupRetroShare()
rsPhoto = mPhotos;
rsWiki = mWikis;
rsWire = mWire;
//rsForumsV2 = mForumsV2;
rsForumsV2 = mForumsV2;
rsPosted = mPosted;
#ifdef RS_USE_BLOGS
rsBlogs = mBlogs;