mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 22:40:36 -04:00
Mods:
Updated dataservice tests and fixed subsequent bugs added bug fixes for RetroDb and fixed postability issue (removed map.at use) Added: Data access module used as token service gxs service backend (RsGenExchange) RsPhotoV2 which is a modification to deal with different interface provided by RsGenExchange also added subsequent p3photoserviceV2 NxsTestHub to help with testing nxsnetservice (RsGxsNetService is not yet working) git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f05d2f9b09
commit
081b59ee1a
27 changed files with 1529 additions and 395 deletions
45
libretroshare/src/retroshare/rsgxsservice.h
Normal file
45
libretroshare/src/retroshare/rsgxsservice.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
#ifndef RSGXSSERVICE_H
|
||||
#define RSGXSSERVICE_H
|
||||
|
||||
|
||||
#include "gxs/rstokenservice.h"
|
||||
|
||||
|
||||
/*!
|
||||
* The aim of this class is to abstract
|
||||
* how changes are represented so
|
||||
* they can be determined outside the
|
||||
* client API without explcitly
|
||||
* enumerating all possible changes
|
||||
* at the interface
|
||||
*/
|
||||
class RsGxsChange
|
||||
{
|
||||
public:
|
||||
RsGxsChange(){ return; }
|
||||
|
||||
};
|
||||
|
||||
/*!
|
||||
* Relevant to group changes
|
||||
* TODO: extent to indicate whether a meta change or actual data
|
||||
*/
|
||||
class RsGxsGroupChange : RsGxsChange
|
||||
{
|
||||
public:
|
||||
std::list<std::string> grpIdList;
|
||||
};
|
||||
|
||||
/*!
|
||||
* Relevant to message changes
|
||||
* TODO: extent to indicate whether a meta change or actual data
|
||||
*/
|
||||
class RsGxsMsgChange : RsGxsChange
|
||||
{
|
||||
public:
|
||||
std::map<std::string, std::vector<std::string> > msgChangeMap;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // RSGXSSERVICE_H
|
Loading…
Add table
Add a link
Reference in a new issue