mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -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
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue