mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
32 lines
548 B
C++
32 lines
548 B
C++
|
//#include <QApplication>
|
||
|
//#include <QString>
|
||
|
//#include <QPushButton>
|
||
|
|
||
|
#include "I2PMessengerPlugin.h"
|
||
|
#include "gui/form_Main.h"
|
||
|
|
||
|
QString
|
||
|
I2PMessengerPlugin::pluginDescription() const
|
||
|
{
|
||
|
QString res;
|
||
|
res = "A I2P Messenger plugin" ;
|
||
|
|
||
|
return res;
|
||
|
}
|
||
|
|
||
|
QString
|
||
|
I2PMessengerPlugin::pluginName() const
|
||
|
{
|
||
|
return "I2P Messenger" ;
|
||
|
}
|
||
|
|
||
|
QWidget*
|
||
|
I2PMessengerPlugin::pluginWidget(QWidget * parent )
|
||
|
{
|
||
|
form_MainWindow* mainForm= new form_MainWindow();
|
||
|
return mainForm;
|
||
|
}
|
||
|
|
||
|
|
||
|
Q_EXPORT_PLUGIN2(i2pmessenger_plugin, I2PMessengerPlugin)
|