Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / PartSet / PartSet_IconFactory.h
index 092754e28e0ba0551b46aead6ecb4b268da741df..34906ae3332a214e1193a04ae119630062508eb0 100644 (file)
@@ -28,6 +28,8 @@
 #include <QMap>
 
 
+class PartSet_Module;
+
 /**\class PartSet_IconFactory
  * \ingroup GUI
  * \brief This is a class is redefined in order to provide
@@ -37,7 +39,7 @@ class PARTSET_EXPORT PartSet_IconFactory : public ModuleBase_IconFactory, public
 {
 public:
   /// Constructor
-  PartSet_IconFactory();
+  PartSet_IconFactory(PartSet_Module* theModule);
 
   /// Returns Icon for the given object
   /// \param theObj an object
@@ -49,6 +51,7 @@ public:
 
 private:
   static QMap<QString, QString> myIcons;
+  PartSet_Module* myModule;
 };
 
 #endif
\ No newline at end of file