Salome HOME
Issue #1854 Recover feature control update
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultGroup.h
index 372cea121acec8920b0605e366df77211b96bfeb..8e2ac8adabcc20489a236b1f5a894ca347eefee6 100644 (file)
 class ModelAPI_ResultGroup : public ModelAPI_Result
 {
 public:
+  MODELAPI_EXPORT virtual ~ModelAPI_ResultGroup();
   /// Returns the group identifier of this result
-  virtual std::string groupName()
-  {
-    return group();
-  }
+  MODELAPI_EXPORT virtual std::string groupName();
 
   /// Returns the group identifier of this result
   inline static std::string group()
@@ -34,6 +32,13 @@ public:
     return MY_GROUP;
   }
 
+  /// default color for a result body
+  inline static const std::string& DEFAULT_COLOR()
+  {
+    static const std::string RESULT_GROUP_COLOR("150,150,180");
+    return RESULT_GROUP_COLOR;
+  }
+
 };
 
 //! Pointer on feature object