mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
Add a bit of documentation about broadcast discovery event
This commit is contained in:
parent
fcb2875312
commit
cc973d1ea5
@ -43,6 +43,7 @@ class RsBroadcastDiscovery;
|
||||
*/
|
||||
extern std::shared_ptr<RsBroadcastDiscovery> rsBroadcastDiscovery;
|
||||
|
||||
|
||||
struct RsBroadcastDiscoveryResult : RsSerializable
|
||||
{
|
||||
PGPFingerprintType mPgpFingerprint;
|
||||
@ -65,6 +66,11 @@ struct RsBroadcastDiscoveryResult : RsSerializable
|
||||
~RsBroadcastDiscoveryResult() override;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Event emitted when a non friend new peer is found in the local network
|
||||
* @see RsEvents
|
||||
*/
|
||||
struct RsBroadcastDiscoveryPeerFoundEvent : RsEvent
|
||||
{
|
||||
RsBroadcastDiscoveryPeerFoundEvent(
|
||||
@ -84,6 +90,7 @@ struct RsBroadcastDiscoveryPeerFoundEvent : RsEvent
|
||||
~RsBroadcastDiscoveryPeerFoundEvent() override;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Announce own RetroShare instace and look friends and peers in own broadcast
|
||||
* domain (aka LAN).
|
||||
|
Loading…
Reference in New Issue
Block a user