2011-06-17 15:57:13 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <retroshare/rsplugin.h>
|
|
|
|
#include <gui/mainpage.h>
|
|
|
|
#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 ; }
|
|
|
|
|
2011-07-05 16:29:07 -04:00
|
|
|
virtual void getPluginVersion(int& major,int& minor,int& svn_rev) const ;
|
|
|
|
|
2011-06-17 15:57:13 -04:00
|
|
|
virtual std::string configurationFileName() const { return std::string() ; }
|
|
|
|
|
|
|
|
virtual std::string getShortPluginDescription() const ;
|
|
|
|
virtual std::string getPluginName() const { return "LinksCloud" ; }
|
|
|
|
private:
|
|
|
|
mutable p3Ranking *mRanking ;
|
|
|
|
mutable MainPage *mainpage ;
|
|
|
|
mutable QIcon *mIcon ;
|
|
|
|
};
|
|
|
|
|