make FeaturePythonPyT more flexible

This commit is contained in:
wmayer
2016-11-09 22:02:42 +01:00
parent fc2bbf52f9
commit 10bb1d6fea
2 changed files with 15 additions and 13 deletions

View File

@@ -26,7 +26,7 @@
#include <map>
#include <string>
#include <Base/Console.h>
#include <App/PropertyContainerPy.h>
#include <Base/BaseClass.h>
namespace App
{
@@ -41,7 +41,7 @@ public:
static PyTypeObject Type;
public:
FeaturePythonPyT(PropertyContainer *pcObject, PyTypeObject *T = &Type);
FeaturePythonPyT(Base::BaseClass *pcObject, PyTypeObject *T = &Type);
virtual ~FeaturePythonPyT();
/** @name callbacks and implementers for the python object methods */