mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
exchange of what version of retroshare our friends are using
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bc82110c97
commit
0b6800a5ce
12 changed files with 335 additions and 51 deletions
|
@ -38,3 +38,13 @@ bool p3Discovery::getDiscFriends(std::string id, std::list<std::string> &friends
|
|||
return false;
|
||||
}
|
||||
|
||||
bool p3Discovery::getDiscVersions(std::map<std::string, std::string> &versions)
|
||||
{
|
||||
if (mDisc)
|
||||
{
|
||||
mDisc->getversions(versions);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ class p3Discovery: public RsDisc
|
|||
virtual ~p3Discovery() { return; }
|
||||
|
||||
virtual bool getDiscFriends(std::string id, std::list<std::string> &friends);
|
||||
virtual bool getDiscVersions(std::map<std::string, std::string> &versions);
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue