X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FATOMSOLVGUI%2FATOMSOLVGUI_DataObject.h;h=15eb9070f71c9d2ff06b7d4252cc04188fc2f254;hb=e8a006a1e4abfce6c2561d9c8ef636a6b6fbdac1;hp=ca230d95232cb74cb87d7f1a857de3a917ac8bc7;hpb=048feae8518d2fb595bb4412f2caa1eeea11d9c9;p=samples%2Fatomsolv.git diff --git a/src/ATOMSOLVGUI/ATOMSOLVGUI_DataObject.h b/src/ATOMSOLVGUI/ATOMSOLVGUI_DataObject.h index ca230d9..15eb907 100644 --- a/src/ATOMSOLVGUI/ATOMSOLVGUI_DataObject.h +++ b/src/ATOMSOLVGUI/ATOMSOLVGUI_DataObject.h @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, 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 @@ -20,6 +20,8 @@ #if !defined(ATOMSOLVGUI_DATAOBJECT_H) #define ATOMSOLVGUI_DATAOBJECT_H +#include "ATOMSOLVGUI_ATOMSOLVGUI.hxx" + #include #include @@ -34,7 +36,7 @@ * If it is an Atom then myIndex field is >= 0 * For Molecule myIndex equals to -1. */ -class ATOMSOLVGUI_DataObject : public virtual LightApp_DataObject +class ATOMSOLVGUI_EXPORT ATOMSOLVGUI_DataObject : public virtual LightApp_DataObject { public: ATOMSOLVGUI_DataObject ( SUIT_DataObject*, int MoleculeIndex, int AtomIndex = -1 ); @@ -59,7 +61,7 @@ private: int myAtomIndex; }; -class ATOMSOLVGUI_ModuleObject : public ATOMSOLVGUI_DataObject, +class ATOMSOLVGUI_EXPORT ATOMSOLVGUI_ModuleObject : public ATOMSOLVGUI_DataObject, public LightApp_ModuleObject { public: