Salome HOME
Send information message for translation
[modules/shaper.git] / src / XGUI / XGUI_WorkshopListener.h
index 5358253b522d142f139ada0976def30db21e3acb..7da355e2e28590fbe222654877a80043ae047947 100755 (executable)
@@ -8,6 +8,7 @@
 #include <Events_Message.h>
 
 #include <ModelAPI_Feature.h>
+#include <Events_InfoMessage.h>
 
 #include <QObject>
 
@@ -19,6 +20,7 @@ class XGUI_Workshop;
 class ModuleBase_IWorkshop;
 
 class QString;
+class Events_InfoMessage;
 
 /**\class XGUI_WorkshopListener
  * \ingroup GUI
@@ -41,7 +43,7 @@ public:
 
 signals:
   /// Emitted when error in applivation happens
-  void errorOccurred(const QString&);
+  void errorOccurred(std::shared_ptr<Events_InfoMessage> theMsg);
 
 protected:
   /// Procedure to process postponed events