more rational use of some common include

This commit is contained in:
Guido Ranzuglia granzuglia 2010-12-09 11:23:12 +00:00
parent bb5d3d90cc
commit 03f70ebed0
2 changed files with 7 additions and 2 deletions

View File

@ -36,6 +36,7 @@
#include "GLLogStream.h"
#include "meshmodel.h"
#include "mlparameter.h"
#include "xmlfilterinfo.h"
class QWidget;
class QGLWidget;
@ -48,6 +49,7 @@ class RenderMode;
class GLArea;
class QScriptEngine;
/** The MainWindowInterface class defines just the executeFilter() callback function
that is invoked by the standard parameter input dialog.
It is used as base class of the MainWindow.
@ -55,7 +57,8 @@ class QScriptEngine;
class MainWindowInterface
{
public:
virtual void executeFilter(QAction *, RichParameterSet &, bool /* isPreview */){};
virtual void executeFilter(QAction *, RichParameterSet &, bool /* isPreview */){}
virtual void executeFilter(QAction *, XMLFilterInfo::XMLMapList &, bool /* isPreview */){}
};
/** \brief The MeshLabInterface class is the base of all the plugin interfaces.

View File

@ -3,7 +3,7 @@
#include<QStringList>
#include<QtXmlPatterns/QAbstractMessageHandler>
#include "interfaces.h"
#include<QAction>
class XMLMessageHandler : public QAbstractMessageHandler
{
@ -142,6 +142,8 @@ public:
QStringList query(const QString& qry) const;
};
class MeshLabFilterInterface;
struct MeshLabXMLFilterContainer
{
QAction* act;