Fixed up circular #include issue.

Reenabled RsGxsIdExchange interface.
Compile p3idservice again.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2012-10-28 18:40:01 +00:00
parent a5f52e85a1
commit df1a3297e0
3 changed files with 14 additions and 10 deletions

View File

@ -32,12 +32,10 @@
#include "rsgxs.h"
#include "rsgds.h"
#include "rsnxs.h"
#include "rsgixs.h"
#include "rsgxsdataaccess.h"
#include "rsnxsobserver.h"
#include "retroshare/rsgxsservice.h"
#include "serialiser/rsnxsitems.h"
//#include "rsgixs.h"
typedef std::map<RsGxsGroupId, std::vector<RsGxsMsgItem*> > GxsMsgDataMap;
typedef std::map<RsGxsGroupId, RsGxsGrpItem*> GxsGroupDataMap;
@ -63,6 +61,9 @@ typedef std::map<RsGxsGroupId, std::vector<RsMsgMetaData> > GxsMsgMetaMap;
* Also notifications are made here on receipt of new data from \n
* connected peers
*/
class RsGixs;
class RsGenExchange : public RsGxsService, public RsNxsObserver
{
public:

View File

@ -180,14 +180,17 @@ public:
/*** This Class pulls all the GXS Interfaces together ****/
//class RsGxsIdExchange: public RsGenExchange, public RsGixsReputation, public RsGixs
//{
//public:
// RsGxsIdExchange(RsGeneralDataService* gds, RsNetworkExchangeService* ns, RsSerialType* serviceSerialiser, uint16_t mServType)
// :RsGenExchange(gds,ns,serviceSerialiser,mServType) { return; }
//virtual ~RsGxsIdExchange() { return; }
class RsGxsIdExchange:
public RsGenExchange,
public RsGixsReputation,
public RsGixs
{
public:
RsGxsIdExchange(RsGeneralDataService* gds, RsNetworkExchangeService* ns, RsSerialType* serviceSerialiser, uint16_t mServType)
:RsGenExchange(gds,ns,serviceSerialiser,mServType, this) { return; }
virtual ~RsGxsIdExchange() { return; }
//};
};

View File

@ -638,7 +638,7 @@ HEADERS += retroshare/rsgame.h \
services/p3idservice.h \
serialiser/rsgxsiditems.h
#SOURCES += services/p3idservice.cc
SOURCES += services/p3idservice.cc
# serialiser/rsgxsiditems.cc \
# Wiki Service