RetroShare/plugins/i2pmessenger_plugin/I2PMessengerPlugin.cpp
defnax 87344de7d4 added for plugins own dir
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-28 14:21:11 +00:00

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)