]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/directorysource.h
Decorate things which should be visible to users of the library
[libs/datafile.git] / source / directorysource.h
index 654906565eeb839dd4991070bfb59629ee68f3e5..07e1664ee585cd348f79e893cb685c792382dd0a 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <msp/fs/path.h>
 #include "collectionsource.h"
+#include "mspdatafile_api.h"
 
 namespace Msp {
 namespace DataFile {
@@ -10,7 +11,7 @@ namespace DataFile {
 /**
 A source that load items from files in a directory.
 */
-class DirectorySource: public CollectionSource
+class MSPDATAFILE_API DirectorySource: public CollectionSource
 {
 private:
        typedef std::map<std::string, FS::Path> ObjectMap;