Salome HOME
Porting SimanIO library on WIN32 platform.
[tools/simanio.git] / src / SimanIO_Activity.hxx
index 828da48ef8984926390bef9f0ebe51af03c697cc..6f079768a0e2eb559f37a12d8675ec250cf8444a 100644 (file)
@@ -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: