Salome HOME
Update mail address
[modules/smesh.git] / src / SMDS / SMDS_Position.hxx
index 29a54d82b624235c606e335eba4ec3c45553048a..18b84c6be8be4d99edbbaa27de048197bdf487f3 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 #define _SMDS_Position_HeaderFile
 
 #include "SMDS_TypeOfPosition.hxx"
+#include <boost/shared_ptr.hpp>
 
-class SMDS_Position
+//#ifdef WNT
+//#include <SALOME_WNT.hxx>
+//#else
+//#define SALOME_WNT_EXPORT
+//#endif
+
+#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
+#define SMDS_WNT_EXPORT __declspec( dllexport )
+#else
+#define SMDS_WNT_EXPORT
+#endif
+
+class SMDS_Position;
+typedef boost::shared_ptr<SMDS_Position> SMDS_PositionPtr;
+
+
+class SMDS_WNT_EXPORT SMDS_Position
 {
 
   public:
        const virtual double * Coords() const = 0;
-       virtual inline SMDS_TypeOfPosition GetTypeOfPosition() const = 0;
+       virtual SMDS_TypeOfPosition GetTypeOfPosition() const = 0;
+       virtual int GetDim() const;
        void SetShapeId(int aShapeId);
        int GetShapeId() const;
-        ~SMDS_Position();
+       virtual ~SMDS_Position() {}
 
   protected:
          SMDS_Position(int aShapeId);
@@ -45,4 +63,6 @@ class SMDS_Position
   private:
        int myShapeId;
 };
+
+
 #endif