mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 16:49:20 -05: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
|
|
@ -32,6 +32,10 @@
|
|||
#include "gui/FeedReaderFeedNotify.h"
|
||||
#include "services/p3FeedReader.h"
|
||||
|
||||
#include <libxml/xmlversion.h>
|
||||
#include <libxslt/xsltconfig.h>
|
||||
#include <curl/curlver.h>
|
||||
|
||||
#define IMAGE_FEEDREADER ":/images/FeedReader.png"
|
||||
|
||||
static void *inited = new FeedReaderPlugin();
|
||||
|
|
@ -159,6 +163,13 @@ std::string FeedReaderPlugin::getPluginName() const
|
|||
return QApplication::translate("FeedReaderPlugin", "FeedReader").toUtf8().constData();
|
||||
}
|
||||
|
||||
void FeedReaderPlugin::getLibraries(std::list<RsLibraryInfo> &libraries)
|
||||
{
|
||||
libraries.push_back(RsLibraryInfo("LibCurl", LIBCURL_VERSION));
|
||||
libraries.push_back(RsLibraryInfo("Libxml2", LIBXML_DOTTED_VERSION));
|
||||
libraries.push_back(RsLibraryInfo("libxslt", LIBXSLT_DOTTED_VERSION));
|
||||
}
|
||||
|
||||
QTranslator* FeedReaderPlugin::qt_translator(QApplication */*app*/, const QString& languageCode, const QString& externalDir) const
|
||||
{
|
||||
if (languageCode == "en") {
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ public:
|
|||
|
||||
virtual std::string getShortPluginDescription() const;
|
||||
virtual std::string getPluginName() const;
|
||||
virtual void getLibraries(std::list<RsLibraryInfo> &libraries);
|
||||
virtual void setInterfaces(RsPlugInInterfaces& interfaces);
|
||||
virtual ConfigPage *qt_config_page() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,9 @@
|
|||
#include "gui/SoundManager.h"
|
||||
#include "gui/chat/ChatWidget.h"
|
||||
|
||||
#include <opencv/cv.h>
|
||||
#include <speex/speex.h>
|
||||
|
||||
#define IMAGE_VOIP ":/images/talking_on.svg"
|
||||
|
||||
static void *inited = new VOIPPlugin() ;
|
||||
|
|
@ -181,6 +184,16 @@ std::string VOIPPlugin::getPluginName() const
|
|||
return QApplication::translate("VOIPPlugin", "VOIP").toUtf8().constData();
|
||||
}
|
||||
|
||||
void VOIPPlugin::getLibraries(std::list<RsLibraryInfo> &libraries)
|
||||
{
|
||||
libraries.push_back(RsLibraryInfo("OpenCV", CV_VERSION));
|
||||
|
||||
const char *speexVersion = NULL;
|
||||
if (speex_lib_ctl(SPEEX_LIB_GET_VERSION_STRING, &speexVersion) == 0 && speexVersion) {
|
||||
libraries.push_back(RsLibraryInfo("Speex", speexVersion));
|
||||
}
|
||||
}
|
||||
|
||||
QTranslator* VOIPPlugin::qt_translator(QApplication */*app*/, const QString& languageCode, const QString& externalDir) const
|
||||
{
|
||||
if (languageCode == "en") {
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ class VOIPPlugin: public RsPlugin
|
|||
|
||||
virtual std::string getShortPluginDescription() const ;
|
||||
virtual std::string getPluginName() const;
|
||||
virtual void getLibraries(std::list<RsLibraryInfo> &libraries);
|
||||
virtual void setInterfaces(RsPlugInInterfaces& interfaces);
|
||||
|
||||
//================================== RsPlugin Notify ==================================//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue