Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / PartSet / PartSet_IconFactory.h
index aafd60940cdb201945e22390ce407ec5d4f13d77..34906ae3332a214e1193a04ae119630062508eb0 100644 (file)
@@ -14,7 +14,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
 //
 
 #ifndef PartSet_IconFactory_H
@@ -27,6 +28,8 @@
 #include <QMap>
 
 
+class PartSet_Module;
+
 /**\class PartSet_IconFactory
  * \ingroup GUI
  * \brief This is a class is redefined in order to provide
@@ -36,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
@@ -48,6 +51,7 @@ public:
 
 private:
   static QMap<QString, QString> myIcons;
+  PartSet_Module* myModule;
 };
 
 #endif
\ No newline at end of file