Salome HOME
Add dumping named of copied entities in the sketch (issue #1924)
[modules/shaper.git] / src / SamplePanelPlugin / SamplePanelPlugin_WidgetCreator.h
index 315742fa60eb42e12175233c8135c71766f9e310..5d1b09293590f120d1c9b46a77a1bea986222a6b 100755 (executable)
@@ -36,13 +36,13 @@ public:
   /// Create panel control by its type.
   /// \param theType a panel type
   /// \param theParent a parent widget
+  /// \param theFeature a feature to fill the panel
   /// \return created widget or null
   virtual QWidget* createPanelByType(const std::string& theType,
-                                     QWidget* theParent);
+                                     QWidget* theParent,
+                                     const FeaturePtr& theFeature);
 private:
   std::set<std::string> myPanelTypes; /// types of panels
 };
 
-typedef std::shared_ptr<SamplePanelPlugin_WidgetCreator> SamplePanelWidgetCreatorPtr;
-
 #endif