mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
a715947046
Reactivated Photodialog. almost completed integration, publishing and item storage working, but data retrieval algorithm needs to be changed (request flags need to be translated, based on update call rather than client assumption) fixed bug in rsgenexchange notification. Added LGPL notices git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5387 b45a01b8-16f6-495d-af2f-9b41ad6348cc
47 lines
893 B
C++
47 lines
893 B
C++
#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 RsGxsNotify
|
|
{
|
|
public:
|
|
RsGxsNotify(){ return; }
|
|
virtual ~RsGxsNotify() {return; }
|
|
|
|
};
|
|
|
|
/*!
|
|
* Relevant to group changes
|
|
* TODO: extent to indicate whether a meta change or actual data
|
|
*/
|
|
class RsGxsGroupChange : public RsGxsNotify
|
|
{
|
|
public:
|
|
std::list<RsGxsGroupId> grpIdList;
|
|
};
|
|
|
|
/*!
|
|
* Relevant to message changes
|
|
* TODO: extent to indicate whether a meta change or actual data
|
|
*/
|
|
class RsGxsMsgChange : public RsGxsNotify
|
|
{
|
|
public:
|
|
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > msgChangeMap;
|
|
};
|
|
|
|
|
|
|
|
#endif // RSGXSSERVICE_H
|