Salome HOME
updated copyright message
[samples/sierpinsky.git] / src / Sierpinsky / SIERPINSKY_Gen_i.hxx
index 8d77fe0df0693f8e70e83043672b700774a27496..d9ac1cdd1b8603fe36b5fcf4435bf3219f21fed8 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2005-2013  OPEN CASCADE
+// Copyright (C) 2005-2023  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 #include <list>
 
+#ifdef WIN32
+ #if defined SIERPINSKYENGINE_EXPORTS || defined SIERPINSKYEngine_EXPORTS
+  #define SIERPINSKYENGINE_EXPORT __declspec( dllexport )
+ #else
+  #define SIERPINSKYENGINE_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define SIERPINSKYENGINE_EXPORT
+#endif
+
 struct MyPoint
 {
   double myX;
@@ -41,7 +51,7 @@ struct MyPoint
   MyPoint( const double x = 0., const double y = 0. ) : myX( x ), myY( y ) {}
 };
 
-class SIERPINSKY_Gen_i: public virtual POA_SIERPINSKY_ORB::SIERPINSKY,
+class SIERPINSKYENGINE_EXPORT SIERPINSKY_Gen_i: public virtual POA_SIERPINSKY_ORB::SIERPINSKY,
                         public virtual Engines_Component_i
 {
 public: