Salome HOME
Update copyrights 2014.
[tools/simanio.git] / src / SimanIO_Activity.hxx
index 828da48ef8984926390bef9f0ebe51af03c697cc..1c85c679c38f21cb1a09fcc786537479bf23cbbd 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-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 @@
 #ifndef SIMANIO_ACTIVITY_H
 #define SIMANIO_ACTIVITY_H
 
+#include "SimanIO.hxx"
+
 #include "SimanIO_Document.hxx"
 
 #include <string>
@@ -28,7 +30,7 @@
 /**
  * \brief Class for storage and store CFG file activity information.
  */
-class SimanIO_Activity {
+class SIMANIO_EXPORT SimanIO_Activity {
   std::string myName;   ///< name of the activity
   std::string myModule; ///< module of the activity
   typedef std::map<int, SimanIO_Document> ActivityDocuments;
@@ -88,7 +90,7 @@ public:
   SimanIO_Document& GetOrCreateDocument(const int theId);
 
   //! Iterator for activity documents browsing
-  class DocumentsIterator {
+  class SIMANIO_EXPORT DocumentsIterator {
     ActivityDocuments::iterator myIter; ///< iterator by the documents of the activity
     ActivityDocuments::const_iterator myEnd;  ///< end iteration indicator
     public: