diff --git a/src/meshlabplugins/dummy/dummy.cpp b/src/meshlabplugins/dummy/dummy.cpp index 4e8e3a430..1683e7358 100644 --- a/src/meshlabplugins/dummy/dummy.cpp +++ b/src/meshlabplugins/dummy/dummy.cpp @@ -18,6 +18,7 @@ ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ****************************************************************************/ +#include #include "dummy.h" @@ -27,6 +28,4 @@ void DummyPlugin::Render(QAction *a, MeshModel &m, RenderMode &rm, GLArea *gla) { } - -Q_EXPORT_PLUGIN(DummyPlugin) - +Q_EXPORT_PLUGIN(DummyPlugin) \ No newline at end of file diff --git a/src/meshlabplugins/dummy/dummy.h b/src/meshlabplugins/dummy/dummy.h index c578c29ce..2e0437f85 100644 --- a/src/meshlabplugins/dummy/dummy.h +++ b/src/meshlabplugins/dummy/dummy.h @@ -24,31 +24,30 @@ #include #include -#include +#include -#include #include #include + class DummyPlugin : public QObject, public MeshRenderInterface { Q_OBJECT Q_INTERFACES(MeshRenderInterface) - QList actionList; + QList actionList; public: - ExtraMeshIOPlugin() + DummyPlugin() { - actionList< actions () {return actionList;} - - virtual void Render(QAction *, MeshModel &, RenderMode &, GLArea *); + QList actions () const {return actionList;} + void Render(QAction *a, MeshModel &m, RenderMode &rm, GLArea *gla); }; -#endif +#endif \ No newline at end of file