Salome HOME
Synchronize adm files
[samples/atomsolv.git] / src / ATOMSOLVGUI / ATOMSOLVGUI_DataObject.h
old mode 100644 (file)
new mode 100755 (executable)
index ca230d9..15eb907
@@ -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 <LightApp_DataObject.h>
 
 #include <qstring.h>
@@ -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: