2011-06-17 15:57:13 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <retroshare/rsplugin.h>
|
2012-02-24 16:05:44 -05:00
|
|
|
#include <retroshare-gui/mainpage.h>
|
2011-06-17 15:57:13 -04:00
|
|
|
#include "p3ranking.h"
|
|
|
|
|
|
|
|
class LinksCloudPlugin: public RsPlugin
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LinksCloudPlugin() ;
|
|
|
|
virtual ~LinksCloudPlugin() {}
|
|
|
|
|
|
|
|
virtual RsCacheService *rs_cache_service() const ;
|
|
|
|
virtual MainPage *qt_page() const ;
|
|
|
|
virtual QIcon *qt_icon() const ;
|
|
|
|
virtual uint16_t rs_service_id() const { return RS_SERVICE_TYPE_RANK ; }
|
2012-10-12 14:44:02 -04:00
|
|
|
virtual QTranslator *qt_translator(QApplication *app, const QString& languageCode, const QString& externalDir) const;
|
2011-06-17 15:57:13 -04:00
|
|
|
|
2011-07-05 16:29:07 -04:00
|
|
|
virtual void getPluginVersion(int& major,int& minor,int& svn_rev) const ;
|
2011-11-17 16:17:24 -05:00
|
|
|
virtual void setPlugInHandler(RsPluginHandler *pgHandler);
|
2011-07-05 16:29:07 -04:00
|
|
|
|
2011-06-17 15:57:13 -04:00
|
|
|
virtual std::string configurationFileName() const { return std::string() ; }
|
|
|
|
|
|
|
|
virtual std::string getShortPluginDescription() const ;
|
2011-11-17 16:17:24 -05:00
|
|
|
virtual std::string getPluginName() const;
|
|
|
|
virtual void setInterfaces(RsPlugInInterfaces& interfaces);
|
2011-06-17 15:57:13 -04:00
|
|
|
private:
|
|
|
|
mutable p3Ranking *mRanking ;
|
2011-11-17 16:17:24 -05:00
|
|
|
mutable RsPluginHandler *mPlugInHandler;
|
|
|
|
mutable RsFiles* mFiles;
|
|
|
|
mutable RsPeers* mPeers;
|
|
|
|
mutable MainPage* mainpage ;
|
|
|
|
mutable QIcon* mIcon ;
|
2011-06-17 15:57:13 -04:00
|
|
|
};
|
|
|
|
|