gxs back end now compilable, need to test

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2012-07-28 20:01:30 +00:00
parent d5520a1cd8
commit 17da89938f
15 changed files with 71 additions and 91 deletions

View file

@ -13,10 +13,10 @@
* enumerating all possible changes
* at the interface
*/
class RsGxsChange
class RsGxsNotify
{
public:
RsGxsChange(){ return; }
RsGxsNotify(){ return; }
};
@ -24,7 +24,7 @@ public:
* Relevant to group changes
* TODO: extent to indicate whether a meta change or actual data
*/
class RsGxsGroupChange : RsGxsChange
class RsGxsGroupChange : public RsGxsNotify
{
public:
std::list<RsGxsGroupId> grpIdList;
@ -34,7 +34,7 @@ public:
* Relevant to message changes
* TODO: extent to indicate whether a meta change or actual data
*/
class RsGxsMsgChange : RsGxsChange
class RsGxsMsgChange : public RsGxsNotify
{
public:
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > msgChangeMap;

View file

@ -182,7 +182,7 @@ public:
*
* @param grpIds
*/
virtual void groupsChanged(std::list<RsGroupId>& grpIds) = 0;
virtual void groupsChanged(std::list<RsGxsGroupId>& grpIds) = 0;
/*!
*
@ -195,7 +195,7 @@ public:
* needed to make requests to the service
* @return handle to token service for this gxs service
*/
virtual RsTokenService* getTokenService() = 0;
virtual RsTokenServiceV2* getTokenService() = 0;
/* Generic Lists */
@ -206,7 +206,7 @@ public:
* @return false if request token is invalid, check token status for error report
*/
virtual bool getGroupList(const uint32_t &token,
std::list<RsGroupId> &groupIds) = 0;
std::list<RsGxsGroupId> &groupIds) = 0;
/*!
* @param token token to be redeemed for this request