mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 16:35:21 -04:00
Adding Basics of GxsChannel Service into libretroshare.
This includes a generic CommentService, which will be used by other Services. + Bugfix, gxs service threads were started before global variables were set. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6186 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
99c5633a63
commit
22782e5edd
17 changed files with 2326 additions and 66 deletions
|
@ -249,6 +249,7 @@ protected:
|
|||
*/
|
||||
bool getGroupData(const uint32_t &token, std::vector<RsGxsGrpItem*>& grpItem);
|
||||
|
||||
public:
|
||||
/*!
|
||||
* retrieves message data associated to a request token
|
||||
* @param token token to be redeemed for message item retrieval
|
||||
|
@ -263,6 +264,8 @@ protected:
|
|||
*/
|
||||
bool getMsgRelatedData(const uint32_t &token, GxsMsgRelatedDataMap& msgItems);
|
||||
|
||||
protected:
|
||||
|
||||
/*!
|
||||
* Convenience template function for retrieve
|
||||
* msg related data from
|
||||
|
@ -391,6 +394,7 @@ protected:
|
|||
*/
|
||||
void publishGroup(uint32_t& token, RsGxsGrpItem* grpItem);
|
||||
|
||||
public:
|
||||
/*!
|
||||
* Enables publication of a message item \n
|
||||
* Setting mOrigMsgId meta member to blank \n
|
||||
|
@ -403,6 +407,7 @@ protected:
|
|||
*/
|
||||
void publishMsg(uint32_t& token, RsGxsMsgItem* msgItem);
|
||||
|
||||
protected:
|
||||
/*!
|
||||
* This represents the group before its signature is calculated
|
||||
* Reimplement this function if you need to access keys to further extend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue