added retrieval of search results in UI

This commit is contained in:
csoler 2018-06-24 16:55:38 +02:00
parent 6ccc7654d6
commit e351d7257e
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
13 changed files with 87 additions and 65 deletions

View file

@ -32,6 +32,26 @@
#include "gxs/rsgxsdata.h"
#include "retroshare/rsgxsifacetypes.h"
/*!
* \brief The RsGxsGroupSymmary struct
* This structure is used to transport group summary information when a GXS service is searched. It contains the group information
* as well as a context string to tell where the information was found. It is more compact than a GroupMeta object, so as to make
* search responses as light as possible.
*/
struct RsGxsGroupSummary
{
RsGxsGroupId group_id ;
std::string group_name ;
std::string group_description ;
std::string search_context ;
RsGxsId author_id ;
time_t publish_ts ;
uint32_t number_of_messages ;
time_t last_message_ts ;
};
/*!
* Stores ids of changed gxs groups and messages. It is used to notify the GUI about changes.
*/