mirror of
				https://github.com/RetroShare/RetroShare.git
				synced 2025-10-31 14:49:14 -04:00 
			
		
		
		
	 23209c8c45
			
		
	
	
		23209c8c45
		
	
	
	
	
		
			
			(set for 5 attempts before message is dropped) moved rstokenservice.h to retroshare interface folder groups do not sync anymore unless user is subscribed to it git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
		
			
				
	
	
		
			48 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef RSGXSSERVICE_H
 | |
| #define RSGXSSERVICE_H
 | |
| 
 | |
| 
 | |
| #include "retroshare/rstokenservice.h"
 | |
| 
 | |
| typedef std::map<RsGxsGroupId, std::vector<RsMsgMetaData> > GxsMsgMetaMap;
 | |
| typedef std::map<RsGxsGrpMsgIdPair, std::vector<RsMsgMetaData> > GxsMsgRelatedMetaMap;
 | |
| 
 | |
| /*!
 | |
|  * 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> mGrpIdList;
 | |
| };
 | |
| 
 | |
| /*!
 | |
|  * 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
 |