Salome HOME
Merge branch 'V7_dev'
[samples/atomic.git] / src / ATOMICGUI / ATOMICGUI_DataObject.h
index 0f53903ee7b9b3b9ed5ca2d38b48b9e6d6034de7..10635428d002a8560f478cfa45051a252e2d13c6 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  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(ATOMICGUI_DATAOBJECT_H)
 #define ATOMICGUI_DATAOBJECT_H
 
+#include "ATOMICGUI_ATOMICGUI.hxx"
+
 #include <LightApp_DataObject.h>
 
 #include <qstring.h>
@@ -33,7 +35,7 @@ class ATOMICGUI_AtomicMolecule;
  *               If it is an Atom then myIndex field is >= 0
  *               For Molecule myIndex equals to -1.
  */
-class ATOMICGUI_DataObject : public virtual LightApp_DataObject
+class ATOMICGUI_EXPORT ATOMICGUI_DataObject : public virtual LightApp_DataObject
 {
 public:
   ATOMICGUI_DataObject ( SUIT_DataObject*, ATOMICGUI_AtomicMolecule* = 0, int = -1 );
@@ -56,7 +58,7 @@ private:
   int                        myIndex;
 };
 
-class ATOMICGUI_ModuleObject : public ATOMICGUI_DataObject,
+class ATOMICGUI_EXPORT ATOMICGUI_ModuleObject : public ATOMICGUI_DataObject,
                                public LightApp_ModuleObject
 {
 public: