Salome HOME
http://www.salome-platform.org/forum/forum_10/881672547
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_HypothesesUtils.h
index 2841b7a7f6c412f04d76bb3e91d7e194cdf1ca07..4e4f4a86857d2e40bf4e71fe95c5a900b60bb616 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,11 @@ namespace SMESH
 
   SMESHGUI_EXPORT
   QString GetMessageOnAlgoStateErrors( const algo_error_array& );
+
+  SMESHGUI_EXPORT
+  // name of proprty saving plug-in of a hypothesis
+  static const char* Plugin_Name() { return "PLUGIN_NAME"; }
+
 }
 
 #endif // SMESHGUI_HYPOTHESESUTILS_H