]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/collection.h
Decorate things which should be visible to users of the library
[libs/datafile.git] / source / collection.h
index c8470dd29a50acd6bcfcee5e51c561b729cbb705..a0717cfd8fc44746f1f59c215c2a14ab2ce1f043 100644 (file)
@@ -9,6 +9,7 @@
 #include "collectionsource.h"
 #include "loader.h"
 #include "meta.h"
+#include "mspdatafile_api.h"
 
 /* XXX This file is a big mess with too many things in it.  However, the
 dependencies between those things make it difficult to split up. */
@@ -51,7 +52,7 @@ that are not present.  Items retrieted from the fallback collection are shared
 between the collections, and are only deleted when all collections in the chain
 have been destroyed.
 */
-class Collection: private NonCopyable
+class MSPDATAFILE_API Collection: private NonCopyable
 {
 public:
        /**