]> git.tdb.fi Git - builder.git/blobdiff - source/lib/component.h
Add visibility decorations to the library and plugins
[builder.git] / source / lib / component.h
index 816d2c11803c1eb947fb6244590548b71f5fcd84..7d9aa1af704e195efed112cbfbd08e3163f9e285 100644 (file)
@@ -7,6 +7,7 @@
 #include "buildinfo.h"
 #include "conditionalloader.h"
 #include "installmap.h"
+#include "libbuilder_api.h"
 #include "package.h"
 
 class SourcePackage;
@@ -17,10 +18,10 @@ may also build none), as well as install a bunch of headers.  Components inherit
 dependencies and build info from the package they belong to, and may also add
 their own.
 */
-class Component
+class LIBBUILDER_API Component
 {
 public:
-       class Loader: public Msp::DataFile::ObjectLoader<Component>, public ConditionalLoader
+       class LIBBUILDER_API Loader: public Msp::DataFile::ObjectLoader<Component>, public ConditionalLoader
        {
        public:
                Loader(Component &);