Salome HOME
Merge branch 'master' into V7_5_BR
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_HypothesesUtils.h
index 2841b7a7f6c412f04d76bb3e91d7e194cdf1ca07..8768e07112e19d35bd31c137facdb367aef08e3f 100644 (file)
@@ -58,8 +58,6 @@ class SALOMEDSClient_SObject;
 class algo_error_array;
 
 
-#define PLUGIN_NAME "PLUGIN_NAME"
-
 namespace SMESH
 {
   SMESHGUI_EXPORT
@@ -119,6 +117,10 @@ namespace SMESH
 
   SMESHGUI_EXPORT
   QString GetMessageOnAlgoStateErrors( const algo_error_array& );
+
+  SMESHGUI_EXPORT
+  // name of proprty saving plug-in of a hypothesis
+  inline const char* Plugin_Name() { return "PLUGIN_NAME"; }
 }
 
 #endif // SMESHGUI_HYPOTHESESUTILS_H