mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-18 03:19:30 -04:00
added for plugins own dir
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
97d8640f3a
commit
87344de7d4
809 changed files with 790 additions and 722 deletions
44
plugins/smplayer_plugin/SMPlayerPlugin.h
Normal file
44
plugins/smplayer_plugin/SMPlayerPlugin.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
#ifndef _HWA_PLUGIN_H_
|
||||
#define _HWA_PLUGIN_H_
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <QString>
|
||||
#include <QWidget>
|
||||
#include <QFrame>
|
||||
class QVBoxLayout;
|
||||
|
||||
#include <PluginInterface.h>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
class SMPlayer;
|
||||
|
||||
class SMPlayerPluginWidget: public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SMPlayerPluginWidget(QWidget* parent, Qt::WindowFlags flags = 0 );
|
||||
~SMPlayerPluginWidget();
|
||||
|
||||
protected:
|
||||
SMPlayer* player;
|
||||
QVBoxLayout* lay;
|
||||
};
|
||||
|
||||
class SMPlayerPlugin: public QObject, public PluginInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
|
||||
public slots:
|
||||
|
||||
virtual QString pluginDescription() const ;
|
||||
virtual QString pluginName() const ;
|
||||
|
||||
virtual QWidget* pluginWidget(QWidget * parent = 0) ;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue