]> git.tdb.fi Git - builder.git/blobdiff - source/lib/internaltask.h
Add visibility decorations to the library and plugins
[builder.git] / source / lib / internaltask.h
index 608ea9662609bb0e5912f65a247f193f3a292504..9e553e7114b0daa58c73daa10a03a75acbb868ea 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <functional>
 #include <msp/core/thread.h>
+#include "libbuilder_api.h"
 #include "task.h"
 
 /**
@@ -10,10 +11,10 @@ Runs a worker thread.  Tools should derive a thread class from
 InternalTask::Worker.  The worker thread must set its status to either SUCCESS
 or ERROR before terminating.
 */
-class InternalTask: public Task
+class LIBBUILDER_API InternalTask: public Task
 {
 private:
-       class Worker: public Msp::Thread
+       class LIBBUILDER_API Worker: public Msp::Thread
        {
                friend class InternalTask;