Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / PartSet / PartSet_Module.cpp
index 75d9692019797317976d556efe95a77c1ab7fe94..2d43a2f1327692c451c5d2596500174cb4f1ddb7 100644 (file)
@@ -51,7 +51,7 @@
 #endif
 
 /*!Create and return new instance of XGUI_Module*/
-extern "C" PARTSET_EXPORT XGUI_Module* createModule(XGUI_Workshop* theWshop)
+extern "C" PARTSET_EXPORT ModuleBase_IModule* createModule(XGUI_Workshop* theWshop)
 {
   return new PartSet_Module(theWshop);
 }
@@ -521,3 +521,9 @@ void PartSet_Module::onStorePoint2D(FeaturePtr theFeature, const std::string& th
   PartSet_Tools::setConstraints(aPreviewOp->sketch(), theFeature, theAttribute,
                                 aPoint->x(), aPoint->y());
 }
+
+bool PartSet_Module::isFeatureEnabled(const QString& theCmdId) const
+{
+  qDebug("### isFeatureEnabled %s", qPrintable(theCmdId));
+  return true;
+}