| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
#ifndef BALL_VIEW_PLUGIN_MODULARWIDGETPLUGIN_H |
| 6 |
#define BALL_VIEW_PLUGIN_MODULARWIDGETPLUGIN_H |
| 7 |
|
| 8 |
#ifndef BALL_VIEW_PLUGIN_VIEWPLUGIN_H |
| 9 |
# include <BALL/VIEW/PLUGIN/VIEWPlugin.h> |
| 10 |
#endif |
| 11 |
|
| 12 |
#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H |
| 13 |
# include <BALL/VIEW/KERNEL/modularWidget.h> |
| 14 |
#endif |
| 15 |
|
| 16 |
namespace BALL |
| 17 |
{ |
| 18 |
namespace VIEW |
| 19 |
{ |
| 20 |
class MainControl; |
| 21 |
|
| 22 |
class ModularWidgetPlugin |
| 23 |
{ |
| 24 |
public: |
| 25 |
virtual ~ModularWidgetPlugin() {} |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
virtual void setMainControl(MainControl* main_control) { main_control_ = main_control; } |
| 36 |
|
| 37 |
protected: |
| 38 |
MainControl* main_control_; |
| 39 |
}; |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
Q_DECLARE_INTERFACE(BALL::VIEW::ModularWidgetPlugin, "org.ball-project.Plugin.ModularWidgetPlugin/1.0") |
| 44 |
|
| 45 |
#endif |