X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FDriver%2FDriver_Mesh.h;h=cada40f96763dcd096d5a35f988cb4cdcc93670b;hb=7084b4f9799cf4a0145ba86ab8b653de8f2d2bdb;hp=21170efca6c18c4a1e83f7ece2849c62168ff3d2;hpb=bd8f1aee7c78f7d2eb82bd4fec5e08c9e3d280ce;p=modules%2Fsmesh.git diff --git a/src/Driver/Driver_Mesh.h b/src/Driver/Driver_Mesh.h index 21170efca..cada40f96 100644 --- a/src/Driver/Driver_Mesh.h +++ b/src/Driver/Driver_Mesh.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // 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 @@ -32,7 +32,7 @@ #include #include -#ifdef WNT +#ifdef WIN32 #if defined MESHDRIVER_EXPORTS || defined MeshDriver_EXPORTS #define MESHDRIVER_EXPORT __declspec( dllexport ) #else @@ -59,7 +59,7 @@ class MESHDRIVER_EXPORT Driver_Mesh }; void SetMeshId(int theMeshId); - void SetFile(const std::string& theFileName); + virtual void SetFile(const std::string& theFileName); virtual void SetMeshName(const std::string& theMeshName); virtual std::string GetMeshName() const;