]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_Module.cpp
Salome HOME
Some slight improvements and bugs fixing.
[modules/shaper.git] / src / PartSet / PartSet_Module.cpp
index 65172c482b5c6b440b6957c9e75f5afab36eb998..f05965159338608513dac86e15e60b9295fef675 100644 (file)
@@ -53,7 +53,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);
 }
@@ -522,3 +522,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;
+}