mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 18:06:18 -05:00
a0162ced8f
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <retroshare/rsplugin.h>
|
|
#include <retroshare-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 ; }
|
|
virtual QTranslator *qt_translator(QApplication *app, const QString& languageCode, const QString& externalDir) const;
|
|
|
|
virtual void getPluginVersion(int& major,int& minor,int& svn_rev) const ;
|
|
virtual void setPlugInHandler(RsPluginHandler *pgHandler);
|
|
|
|
virtual std::string configurationFileName() const { return std::string() ; }
|
|
|
|
virtual std::string getShortPluginDescription() const ;
|
|
virtual std::string getPluginName() const;
|
|
virtual void setInterfaces(RsPlugInInterfaces& interfaces);
|
|
private:
|
|
mutable p3Ranking *mRanking ;
|
|
mutable RsPluginHandler *mPlugInHandler;
|
|
mutable RsFiles* mFiles;
|
|
mutable RsPeers* mPeers;
|
|
mutable MainPage* mainpage ;
|
|
mutable QIcon* mIcon ;
|
|
};
|
|
|