Added service pointer of forums and channels to RsPlugInInterfaces.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-11-23 23:24:41 +00:00
parent 7b8cdd685d
commit 2f547e4014
2 changed files with 6 additions and 1 deletions

View File

@ -44,7 +44,8 @@ class RsTurtle ;
class RsDht ;
class RsDisc ;
class RsMsgs ;
//class RsForums;
class RsGxsForums;
class RsGxsChannels;
class RsNotify;
class p3LinkMgr ;
class MainPage ;
@ -112,6 +113,8 @@ public:
RsUtil::inited_ptr<RsGxsIdExchange> mGxsIdService;
RsUtil::inited_ptr<RsGcxs> mGxsCirlces;
RsUtil::inited_ptr<PgpAuxUtils> mPgpAuxUtils;
RsUtil::inited_ptr<RsGxsForums> mGxsForums;
RsUtil::inited_ptr<RsGxsChannels> mGxsChannels;
};
class RsPlugin

View File

@ -1495,6 +1495,8 @@ int RsServer::StartupRetroShare()
interfaces.mGxsIdService = mGxsIdService;
interfaces.mGxsCirlces = mGxsCircles;
interfaces.mPgpAuxUtils = pgpAuxUtils;
interfaces.mGxsForums = mGxsForums;
interfaces.mGxsChannels = mGxsChannels;
mPluginsManager->setInterfaces(interfaces);
// now add plugin objects inside the loop: