From 4c70053e34cc5cb8a0b48e76f2229782caa95ac3 Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia granzuglia Date: Thu, 7 Oct 2010 14:11:52 +0000 Subject: [PATCH] added QGLContext pointer to the filter's interface. --- src/common/interfaces.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/common/interfaces.h b/src/common/interfaces.h index 9250e2f8d..a9076c304 100644 --- a/src/common/interfaces.h +++ b/src/common/interfaces.h @@ -28,6 +28,8 @@ #include #include #include +#include +#include #include #include #include "filterparameter.h" @@ -246,7 +248,9 @@ public: }; - MeshFilterInterface() : MeshLabInterface() {} + MeshFilterInterface() : MeshLabInterface() + { + } virtual ~MeshFilterInterface() {} /** The long, formatted string describing each filtering action. @@ -382,6 +386,7 @@ public: virtual QList actions() const { return actionList;} virtual QList types() const { return typeList;} QString generatedScriptCode; + QGLContext* glContext; protected: // Each plugins exposes a set of filtering possibilities. // Each filtering procedure corresponds to a single QAction with a corresponding FilterIDType id.