From: mpv Date: Mon, 26 Jan 2015 12:04:13 +0000 (+0300) Subject: Porting to Windows X-Git-Tag: V_1.0.0~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=28b7c94db082ec6dd8a6fd4c6770df0fa5f2b6a3;p=modules%2Fshaper.git Porting to Windows --- diff --git a/src/ModelAPI/ModelAPI_Attribute.h b/src/ModelAPI/ModelAPI_Attribute.h index a43bce2a8..179fbae2f 100644 --- a/src/ModelAPI/ModelAPI_Attribute.h +++ b/src/ModelAPI/ModelAPI_Attribute.h @@ -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); diff --git a/src/ModelAPI/ModelAPI_AttributeSelection.h b/src/ModelAPI/ModelAPI_AttributeSelection.h index 19b31f541..b2986b3bb 100644 --- a/src/ModelAPI/ModelAPI_AttributeSelection.h +++ b/src/ModelAPI/ModelAPI_AttributeSelection.h @@ -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 diff --git a/src/ModelAPI/ModelAPI_AttributeSelectionList.h b/src/ModelAPI/ModelAPI_AttributeSelectionList.h index 04157e1c4..7bb04753a 100644 --- a/src/ModelAPI/ModelAPI_AttributeSelectionList.h +++ b/src/ModelAPI/ModelAPI_AttributeSelectionList.h @@ -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