Salome HOME
Porting HEXABLOCK module on WIN32 platform.
[modules/hexablock.git] / src / HEXABLOCK / HexSubShape.hxx
index 032046df076c634cac1c21e15973b07b623983f3..7d1bf39f84c5970ded71c8ea93338659e4a8b302 100644 (file)
@@ -4,17 +4,14 @@
 #ifndef __SUB_SHAPE_H_
 #define __SUB_SHAPE_H_
 
-
-
+#include "Hex_defines.hxx"
 #include "HexEltBase.hxx"
 
-#ifndef NO_CASCADE
 #include <TopoDS_Shape.hxx>
-#endif
 
 BEGIN_NAMESPACE_HEXA
 
-class SubShape : public EltBase
+class HEXABLOCKENGINE_EXPORT SubShape : public EltBase
 {
 public :
     SubShape (NewShape* dad, int id, int dim);
@@ -24,7 +21,7 @@ public :
     int         getDim   ()             { return sub_dim ; }
 
     const string&       getBrep  ();
-    const TopoDS_Shape& getShape ();
+    virtual const TopoDS_Shape& getShape ();
 
     void   saveXml (XmlWriter* xml);
     void   callXml (XmlWriter* xml);