mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 14:42:51 -04:00
Added version information of the libraries to HelpDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8446 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b0f7b70ea2
commit
0ca37f6756
14 changed files with 435 additions and 286 deletions
|
@ -69,6 +69,7 @@ class RsControl /* The Main Interface Class - for controlling the server */
|
|||
/****************************************/
|
||||
|
||||
virtual bool getPeerCryptoDetails(const RsPeerId& ssl_id,RsPeerCryptoParams& params) = 0;
|
||||
virtual void getLibraries(std::list<RsLibraryInfo> &libraries) = 0;
|
||||
|
||||
protected:
|
||||
RsControl() {} // should not be used, hence it's private.
|
||||
|
|
|
@ -191,6 +191,7 @@ class RsPlugin
|
|||
virtual std::string getShortPluginDescription() const = 0 ;
|
||||
virtual std::string getPluginName() const = 0 ;
|
||||
virtual void getPluginVersion(int& major,int& minor, int& build, int& svn_rev) const = 0 ;
|
||||
virtual void getLibraries(std::list<RsLibraryInfo> & /*libraries*/) {}
|
||||
|
||||
//
|
||||
//========================== Plugin Interface ================================//
|
||||
|
|
|
@ -388,4 +388,18 @@ public:
|
|||
unsigned int retries;
|
||||
};
|
||||
|
||||
/* class for the information about a used library */
|
||||
class RsLibraryInfo
|
||||
{
|
||||
public:
|
||||
RsLibraryInfo() {}
|
||||
RsLibraryInfo(const std::string &name, const std::string &version) :
|
||||
mName(name), mVersion(version)
|
||||
{}
|
||||
|
||||
public:
|
||||
std::string mName;
|
||||
std::string mVersion;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue