]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/parser.h
Decorate things which should be visible to users of the library
[libs/datafile.git] / source / parser.h
index ed7a037cdb12a7eeb1d49f2526a4925800921012..32a776082de1896e20fbe5aa001a78669e33ea66 100644 (file)
@@ -4,6 +4,7 @@
 #include <string>
 #include <msp/core/noncopyable.h>
 #include "input.h"
+#include "mspdatafile_api.h"
 
 namespace Msp {
 namespace DataFile {
@@ -19,7 +20,7 @@ Frontend for loading datafiles.  Handles switching between text and binary
 formats.  A Parser evaluates into a boolean value indicating whether more
 statements may be read.
 */
-class Parser: private NonCopyable
+class MSPDATAFILE_API Parser: private NonCopyable
 {
 private:
        Input in;