mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 17:15:16 -04:00
added proper context menu for requesting/cancelling circle subscription
This commit is contained in:
parent
83049259f2
commit
c9846c0dcf
5 changed files with 80 additions and 7 deletions
|
@ -134,6 +134,11 @@ virtual bool getCircleDetails(const RsGxsCircleId &id, RsGxsCircleDetails &detai
|
|||
virtual bool getCircleExternalIdList(std::list<RsGxsCircleId> &circleIds) = 0;
|
||||
virtual bool getCirclePersonalIdList(std::list<RsGxsCircleId> &circleIds) = 0;
|
||||
|
||||
/* membership management for external circles */
|
||||
|
||||
virtual bool requestCircleMembership(const RsGxsCircleId& id)=0 ;
|
||||
virtual bool cancelCircleMembership(const RsGxsCircleId& id)=0 ;
|
||||
|
||||
/* standard load */
|
||||
virtual bool getGroupData(const uint32_t &token, std::vector<RsGxsCircleGroup> &groups) = 0;
|
||||
|
||||
|
|
|
@ -1820,4 +1820,14 @@ void p3GxsCircles::handle_event(uint32_t event_type, const std::string &elabel)
|
|||
}
|
||||
|
||||
|
||||
bool p3GxsCircles::requestCircleMembership(const RsGxsCircleId& id)
|
||||
{
|
||||
#warning code missing here !!!
|
||||
}
|
||||
|
||||
bool p3GxsCircles::cancelCircleMembership(const RsGxsCircleId& id)
|
||||
{
|
||||
#warning code missing here !!!
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -192,6 +192,11 @@ virtual RsServiceInfo getServiceInfo();
|
|||
virtual void updateGroup(uint32_t &token, RsGxsCircleGroup &group);
|
||||
|
||||
|
||||
/* membership management for external circles */
|
||||
|
||||
virtual bool requestCircleMembership(const RsGxsCircleId& id) ;
|
||||
virtual bool cancelCircleMembership(const RsGxsCircleId& id) ;
|
||||
|
||||
/**********************************************/
|
||||
|
||||
// needed for background processing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue