X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSimanIO_Activity.hxx;h=1c85c679c38f21cb1a09fcc786537479bf23cbbd;hb=44376154366e6329af5d0db0c9bf2b7ae71c41be;hp=828da48ef8984926390bef9f0ebe51af03c697cc;hpb=53a807bd760c6a1fa717fa1a45193509d4705b3a;p=tools%2Fsimanio.git diff --git a/src/SimanIO_Activity.hxx b/src/SimanIO_Activity.hxx index 828da48..1c85c67 100644 --- a/src/SimanIO_Activity.hxx +++ b/src/SimanIO_Activity.hxx @@ -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 @@ -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 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: