RetroShare/plugins/VOIP/VOIPPlugin.h
csoler 826e8f3728 - added ability to plugins to add a tab in transfers dialog
- improved VOIP plugin to add RTT statistics tab to RS gui.
- added comments in rsplugins.h
- added big tooltip in transfers that would be stuck in checking... mode



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4979 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-21 21:53:25 +00:00

36 lines
1.1 KiB
C++

#pragma once
#include <retroshare/rsplugin.h>
#include "services/p3vors.h"
class VOIPPlugin: public RsPlugin
{
public:
VOIPPlugin() ;
virtual ~VOIPPlugin() {}
virtual RsPQIService *rs_pqi_service() const ;
virtual uint16_t rs_service_id() const { return RS_SERVICE_TYPE_VOIP_PLUGIN ; }
virtual ConfigPage *qt_config_page() const ;
virtual RsAutoUpdatePage *qt_transfers_tab() const ;
virtual std::string qt_transfers_tab_name() const ;
virtual QTranslator *qt_translator(QApplication *app, const QString& languageCode) const;
virtual void getPluginVersion(int& major,int& minor,int& svn_rev) const ;
virtual void setPlugInHandler(RsPluginHandler *pgHandler);
virtual std::string configurationFileName() const { return "voip.cfg" ; }
virtual std::string getShortPluginDescription() const ;
virtual std::string getPluginName() const;
virtual void setInterfaces(RsPlugInInterfaces& interfaces);
private:
mutable p3VoRS *mVoip ;
mutable RsPluginHandler *mPlugInHandler;
mutable RsPeers* mPeers;
mutable ConfigPage *config_page ;
};