mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 05:42:19 -04:00
added blocking API for createComment() in GxsCommentService and removed token queue from GxsCreateCommentDialog
This commit is contained in:
parent
ab2c1f23e9
commit
dc3c3488df
11 changed files with 26 additions and 31 deletions
|
@ -157,7 +157,9 @@ struct RsGxsCommentService
|
|||
virtual bool getRelatedComments( uint32_t token,
|
||||
std::vector<RsGxsComment> &comments ) = 0;
|
||||
|
||||
virtual bool createNewComment(uint32_t &token, RsGxsComment &comment) = 0;
|
||||
virtual bool createNewComment(uint32_t &token, const RsGxsComment &comment) = 0; // async API
|
||||
virtual bool createComment(RsGxsComment& comment) = 0; // blocking API. Updates comment with new metadata.
|
||||
|
||||
virtual bool createNewVote(uint32_t &token, RsGxsVote &vote) = 0;
|
||||
|
||||
virtual bool acknowledgeComment(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue