Salome HOME
Porting to Windows
authormpv <mpv@opencascade.com>
Mon, 26 Jan 2015 12:04:13 +0000 (15:04 +0300)
committermpv <mpv@opencascade.com>
Mon, 26 Jan 2015 12:04:13 +0000 (15:04 +0300)
src/ModelAPI/ModelAPI_Attribute.h
src/ModelAPI/ModelAPI_AttributeSelection.h
src/ModelAPI/ModelAPI_AttributeSelectionList.h

index a43bce2a89753766cbbb41467dd7de46e865328c..179fbae2ff8f9636c80e2ce7289cacd847e3e4a9 100644 (file)
@@ -68,7 +68,7 @@ class ModelAPI_Attribute
 
  protected:
   /// Objects are created for features automatically
-  ModelAPI_Attribute();
+  MODELAPI_EXPORT ModelAPI_Attribute();
 
   /// Sets the ID of the attribute in Data (called from Data)
   MODELAPI_EXPORT void setID(const std::string theID);
index 19b31f5416bbcf72d0a36782fe4acf7a81113978..b2986b3bb3b6fa963fd15c0977cbfb8e96b1ebeb 100644 (file)
@@ -39,7 +39,7 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute
   }
 
   /// Returns the type of this class of attributes, not static method
-  virtual std::string attributeType();
+  MODELAPI_EXPORT virtual std::string attributeType();
 
   /// Returns a textual string of the selection
   virtual std::string namingName() = 0;
@@ -52,7 +52,7 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute
   virtual void selectSubShape(const std::string& theType, const std::string& theSubShapeName) = 0;
 
   /// To virtually destroy the fields of successors
-  virtual ~ModelAPI_AttributeSelection();
+  MODELAPI_EXPORT virtual ~ModelAPI_AttributeSelection();
 
  protected:
   /// Objects are created for features automatically
index 04157e1c4f3577f633c4a93c08f890c4cfa4ad6f..7bb04753a250ec21c3b2a6339738f74761b11bba 100644 (file)
@@ -47,10 +47,10 @@ class ModelAPI_AttributeSelectionList : public ModelAPI_Attribute
   }
 
   /// Returns the type of this class of attributes, not static method
-  virtual std::string attributeType();
+  MODELAPI_EXPORT virtual std::string attributeType();
 
   /// To virtually destroy the fields of successors
-  virtual ~ModelAPI_AttributeSelectionList();
+  MODELAPI_EXPORT virtual ~ModelAPI_AttributeSelectionList();
 
  protected:
   /// Objects are created for features automatically